Spaces:
Runtime error
Runtime error
Update app/main.py
Browse files- app/main.py +1 -1
app/main.py
CHANGED
|
@@ -8,7 +8,7 @@ tts = Client("mrfakename/MeloTTS") # one-time init, O(1)
|
|
| 8 |
|
| 9 |
async def synth_stream(text: str):
|
| 10 |
# 1) simple stubbed chatbot logic, O(1)
|
| 11 |
-
reply = "
|
| 12 |
|
| 13 |
# 2) request TTS (blocking inside predict, but typically <100 ms)
|
| 14 |
audio_path = tts.predict(
|
|
|
|
| 8 |
|
| 9 |
async def synth_stream(text: str):
|
| 10 |
# 1) simple stubbed chatbot logic, O(1)
|
| 11 |
+
reply = "" + text
|
| 12 |
|
| 13 |
# 2) request TTS (blocking inside predict, but typically <100 ms)
|
| 14 |
audio_path = tts.predict(
|