Update app.py
Browse files
app.py
CHANGED
|
@@ -133,9 +133,8 @@ def transcribe(audio, text):
|
|
| 133 |
df = pd.DataFrame([chat_transcript_copy])
|
| 134 |
notion_df.upload(df, 'https://www.notion.so/personal-5e3978680ca848bda844452129955138?pvs=4', title=str(published_date), api_key=API_KEY)
|
| 135 |
|
| 136 |
-
#
|
| 137 |
-
|
| 138 |
-
|
| 139 |
|
| 140 |
audio_input = Audio(source="microphone", type="filepath", label="Record your message")
|
| 141 |
text_input = Textbox(label="Type your message", max_length=4096)
|
|
|
|
| 133 |
df = pd.DataFrame([chat_transcript_copy])
|
| 134 |
notion_df.upload(df, 'https://www.notion.so/personal-5e3978680ca848bda844452129955138?pvs=4', title=str(published_date), api_key=API_KEY)
|
| 135 |
|
| 136 |
+
# Return the chat transcript
|
| 137 |
+
return chat_transcript
|
|
|
|
| 138 |
|
| 139 |
audio_input = Audio(source="microphone", type="filepath", label="Record your message")
|
| 140 |
text_input = Textbox(label="Type your message", max_length=4096)
|