Spaces:
Runtime error
Runtime error
Commit ·
efee9ba
1
Parent(s): f5da0a1
removed input , output from generate.click now directly calling the function itself
Browse files88 unmodified lines8990919293949588 unmodified linessamples = cast(TTS, tts).synthesize(text_str, speaker_str)return gr.Audio.update(value=(cast(TTS, tts).get_sampling_rate(), samples))generate.click(synthesize_audio, inputs=[text, speaker], outputs=audio)demo.launch()88 unmodified lines8990919293949588 unmodified linessamples = cast(TTS, tts).synthesize(text_str, speaker_str)return gr.Audio.update(value=(cast(TTS, tts).get_sampling_rate(), samples))generate.click(synthesize_audio(text,speaker))demo.launch()
app.py+1-1