Spaces:
son9john
/
Runtime error

son9john commited on
Commit
ad390da
1 Parent(s): 4694b1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -118,7 +118,7 @@ def transcribe(audio, text):
118
  notion_df.upload(df, 'https://www.notion.so/US-62e861a0b35f43da8ef9a7789512b8c2?pvs=4', title=str(published_date), api_key=API_KEY)
119
 
120
  # Return the chat transcript
121
- return chat_transcript
122
 
123
  # Define the input and output components for Gradio
124
  audio_input = Audio(source="microphone", type="filepath", label="Record your message")
 
118
  notion_df.upload(df, 'https://www.notion.so/US-62e861a0b35f43da8ef9a7789512b8c2?pvs=4', title=str(published_date), api_key=API_KEY)
119
 
120
  # Return the chat transcript
121
+ return system_message['content']
122
 
123
  # Define the input and output components for Gradio
124
  audio_input = Audio(source="microphone", type="filepath", label="Record your message")