Spaces:
Running
Running
AlimOmar commited on
Commit ·
2276ace
1
Parent(s): 8e06e99
fix bug
Browse files
app.py
CHANGED
|
@@ -100,6 +100,7 @@ tokenizer_ru = AutoTokenizer.from_pretrained("facebook/mms-tts-rus")
|
|
| 100 |
# Pydantic model for request body
|
| 101 |
class TextInput(BaseModel):
|
| 102 |
text: str
|
|
|
|
| 103 |
|
| 104 |
"""
|
| 105 |
curl -X POST https://piyazon-tts-piyazon.hf.space/generate-tts \
|
|
|
|
| 100 |
# Pydantic model for request body
|
| 101 |
class TextInput(BaseModel):
|
| 102 |
text: str
|
| 103 |
+
lang: str
|
| 104 |
|
| 105 |
"""
|
| 106 |
curl -X POST https://piyazon-tts-piyazon.hf.space/generate-tts \
|