rodrigomasini commited on
Commit
9cc6fc1
·
verified ·
1 Parent(s): 5142028

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -161,6 +161,7 @@ def chatbot_conversation(audio_file_path, history):
161
  response_format={"type": "text"}
162
  ):
163
  token = message.choices[0].delta.content
 
164
  response += token
165
  # Yield partial text updates, no audio yet, history unchanged yet
166
  yield (response, None, history)
 
161
  response_format={"type": "text"}
162
  ):
163
  token = message.choices[0].delta.content
164
+ print(token)
165
  response += token
166
  # Yield partial text updates, no audio yet, history unchanged yet
167
  yield (response, None, history)