Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -213,7 +213,7 @@ async def chat(request: MessageRequest):
|
|
213 |
audio_path = generate_unique_filename("mp3")
|
214 |
tts.save(audio_path)
|
215 |
return {"response": response1,
|
216 |
-
"audioUrl": f"
|
217 |
|
218 |
|
219 |
@app.get("/")
|
|
|
213 |
audio_path = generate_unique_filename("mp3")
|
214 |
tts.save(audio_path)
|
215 |
return {"response": response1,
|
216 |
+
"audioUrl": f"audio/{audio_path}"}
|
217 |
|
218 |
|
219 |
@app.get("/")
|