Spaces:
Sleeping
Sleeping
Commit ·
eb91d30
1
Parent(s): 0367980
refix
Browse files
app.py
CHANGED
|
@@ -56,14 +56,3 @@ def generate_tts(input: TextInput):
|
|
| 56 |
if __name__ == "__main__":
|
| 57 |
uvicorn.run(app, host="0.0.0.0", port=7860)
|
| 58 |
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
tts.tts_to_file(
|
| 62 |
-
speaker="p339",
|
| 63 |
-
age=22,
|
| 64 |
-
gender="F",
|
| 65 |
-
text=text,
|
| 66 |
-
speaker_wav=None, # Optional: Use custom speaker embeddings
|
| 67 |
-
emotion=emotion, # Control the emotion (if supported by the model)
|
| 68 |
-
file_path=output_file
|
| 69 |
-
)
|
|
|
|
| 56 |
if __name__ == "__main__":
|
| 57 |
uvicorn.run(app, host="0.0.0.0", port=7860)
|
| 58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|