Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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)
|