Update app.py
Browse files
app.py
CHANGED
@@ -127,7 +127,7 @@ def transcribe(audio, text):
|
|
127 |
import pandas as pd
|
128 |
# string dataframe?
|
129 |
df = pd.DataFrame([chat_transcript])
|
130 |
-
notion_df.upload(df, 'https://www.notion.so/page-827360c361f347f7bfefcc6dfbd10e51', title=str(published_date), api_key=API_KEY)
|
131 |
|
132 |
|
133 |
if num_tokens > 2200:
|
@@ -176,7 +176,7 @@ def transcribe(audio, text):
|
|
176 |
import pandas as pd
|
177 |
# string dataframe?
|
178 |
df = pd.DataFrame([chat_transcript_copy])
|
179 |
-
notion_df.upload(df, 'https://www.notion.so/page-827360c361f347f7bfefcc6dfbd10e51', title=str(chat_transcript_copy), api_key=API_KEY)
|
180 |
|
181 |
return chat_transcript
|
182 |
|
|
|
127 |
import pandas as pd
|
128 |
# string dataframe?
|
129 |
df = pd.DataFrame([chat_transcript])
|
130 |
+
notion_df.upload(df, 'https://www.notion.so/page-827360c361f347f7bfefcc6dfbd10e51', title=str(published_date+'personal_BU'), api_key=API_KEY)
|
131 |
|
132 |
|
133 |
if num_tokens > 2200:
|
|
|
176 |
import pandas as pd
|
177 |
# string dataframe?
|
178 |
df = pd.DataFrame([chat_transcript_copy])
|
179 |
+
notion_df.upload(df, 'https://www.notion.so/page-827360c361f347f7bfefcc6dfbd10e51', title=str(chat_transcript_copy+'personal'), api_key=API_KEY)
|
180 |
|
181 |
return chat_transcript
|
182 |
|