Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,6 @@ def generate_voice(text, audio_file_path):
|
|
| 29 |
file_path=output_path,
|
| 30 |
split_sentences=True,
|
| 31 |
# Assuming the TTS model requires a speaker identifier and '1' is a valid identifier
|
| 32 |
-
speaker="1"
|
| 33 |
)
|
| 34 |
return output_path
|
| 35 |
|
|
|
|
| 29 |
file_path=output_path,
|
| 30 |
split_sentences=True,
|
| 31 |
# Assuming the TTS model requires a speaker identifier and '1' is a valid identifier
|
|
|
|
| 32 |
)
|
| 33 |
return output_path
|
| 34 |
|