Update app.py
Browse files
app.py
CHANGED
|
@@ -58,7 +58,7 @@ def generate(
|
|
| 58 |
repetition_penalty: float = 1.2,
|
| 59 |
) -> Iterator[str] | str:
|
| 60 |
|
| 61 |
-
is_tts = message.strip().startswith("
|
| 62 |
is_text_only = message.strip().startswith("@text")
|
| 63 |
|
| 64 |
# Remove special tags
|
|
|
|
| 58 |
repetition_penalty: float = 1.2,
|
| 59 |
) -> Iterator[str] | str:
|
| 60 |
|
| 61 |
+
is_tts = message.strip().startswith("@tts")
|
| 62 |
is_text_only = message.strip().startswith("@text")
|
| 63 |
|
| 64 |
# Remove special tags
|