Update app.py
Browse files
app.py
CHANGED
|
@@ -123,7 +123,7 @@ def transcribe(audio, text):
|
|
| 123 |
published_date = eastern_time.strftime('%m-%d-%y %H:%M')
|
| 124 |
# string dataframe?
|
| 125 |
df = pd.DataFrame([chat_transcript])
|
| 126 |
-
notion_df.upload(df, 'https://www.notion.so/
|
| 127 |
|
| 128 |
if num_tokens > 2200:
|
| 129 |
# Reset the messages list and answer counter
|
|
@@ -176,7 +176,7 @@ def transcribe(audio, text):
|
|
| 176 |
published_date = eastern_time.strftime('%m-%d-%y %H:%M')
|
| 177 |
# string dataframe
|
| 178 |
df = pd.DataFrame([chat_transcript_copy])
|
| 179 |
-
notion_df.upload(df, 'https://www.notion.so/
|
| 180 |
|
| 181 |
return chat_transcript
|
| 182 |
|
|
|
|
| 123 |
published_date = eastern_time.strftime('%m-%d-%y %H:%M')
|
| 124 |
# string dataframe?
|
| 125 |
df = pd.DataFrame([chat_transcript])
|
| 126 |
+
notion_df.upload(df, 'https://www.notion.so/personal-5e3978680ca848bda844452129955138?pvs=4', title=str(published_date), api_key=API_KEY)
|
| 127 |
|
| 128 |
if num_tokens > 2200:
|
| 129 |
# Reset the messages list and answer counter
|
|
|
|
| 176 |
published_date = eastern_time.strftime('%m-%d-%y %H:%M')
|
| 177 |
# string dataframe
|
| 178 |
df = pd.DataFrame([chat_transcript_copy])
|
| 179 |
+
notion_df.upload(df, 'https://www.notion.so/personal-5e3978680ca848bda844452129955138?pvs=4', title=str(published_date), api_key=API_KEY)
|
| 180 |
|
| 181 |
return chat_transcript
|
| 182 |
|