Update app.py
Browse files
app.py
CHANGED
@@ -205,7 +205,7 @@ def realtime():
|
|
205 |
print(f"Response: {response}")
|
206 |
audio_url = generate_tts(response)
|
207 |
print(f"Audio URL: {audio_url}")
|
208 |
-
return jsonify(f"data: {json.dumps({'done': True, 'full_response': response, 'audio_url': audio_url})}
|
209 |
|
210 |
except Exception as e:
|
211 |
logger.exception("Chat endpoint failed")
|
|
|
205 |
print(f"Response: {response}")
|
206 |
audio_url = generate_tts(response)
|
207 |
print(f"Audio URL: {audio_url}")
|
208 |
+
return jsonify(f"data: {json.dumps({'done': True, 'full_response': response, 'audio_url': audio_url})}")
|
209 |
|
210 |
except Exception as e:
|
211 |
logger.exception("Chat endpoint failed")
|