Update app.py
Browse files
app.py
CHANGED
|
@@ -89,7 +89,7 @@ def main():
|
|
| 89 |
samples = cast(TTS, tts).synthesize(text_str, speaker_str)
|
| 90 |
return gr.Audio.update(value=(24000, samples))
|
| 91 |
|
| 92 |
-
generate.click(synthesize_audio, inputs=[text, speaker], outputs=audio)
|
| 93 |
|
| 94 |
demo.launch(
|
| 95 |
share=True,
|
|
|
|
| 89 |
samples = cast(TTS, tts).synthesize(text_str, speaker_str)
|
| 90 |
return gr.Audio.update(value=(24000, samples))
|
| 91 |
|
| 92 |
+
generate.click(synthesize_audio, inputs=[text, speaker], outputs=audio,api_name="audio")
|
| 93 |
|
| 94 |
demo.launch(
|
| 95 |
share=True,
|