Sambhavnoobcoder commited on
Commit
efee9ba
1 Parent(s): f5da0a1

removed input , output from generate.click now directly calling the function itself

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, inputs=[text, speaker], outputs=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