son9john commited on
Commit
ac2595c
·
1 Parent(s): 3921038

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
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
- # Add the system message to the messages list
137
- messages.append({"role": "system", "content": system_message})
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)