Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -123,7 +123,7 @@ class EnglishTutor:
|
|
| 123 |
if text.startswith('"') and text.endswith('"'):
|
| 124 |
text = text[1:-1]
|
| 125 |
|
| 126 |
-
tts_prompt =
|
| 127 |
tts_emotion = "Warm, encouraging, and clear with a friendly and supportive tone."
|
| 128 |
|
| 129 |
return TTS_CLIENT.predict(
|
|
|
|
| 123 |
if text.startswith('"') and text.endswith('"'):
|
| 124 |
text = text[1:-1]
|
| 125 |
|
| 126 |
+
tts_prompt = text # Remove the curly braces that were creating a set
|
| 127 |
tts_emotion = "Warm, encouraging, and clear with a friendly and supportive tone."
|
| 128 |
|
| 129 |
return TTS_CLIENT.predict(
|