Spaces:
Runtime error
Runtime error
Commit
·
efee9ba
1
Parent(s):
f5da0a1
removed input , output from generate.click now directly calling the function itself
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=(cast(TTS, tts).get_sampling_rate(), samples))
|
| 91 |
|
| 92 |
-
generate.click(synthesize_audio
|
| 93 |
|
| 94 |
demo.launch()
|
| 95 |
|
|
|
|
| 89 |
samples = cast(TTS, tts).synthesize(text_str, speaker_str)
|
| 90 |
return gr.Audio.update(value=(cast(TTS, tts).get_sampling_rate(), samples))
|
| 91 |
|
| 92 |
+
generate.click(synthesize_audio(text,speaker))
|
| 93 |
|
| 94 |
demo.launch()
|
| 95 |
|