Spaces:
Hamas
/
Build error

Hamas commited on
Commit
572a5e9
1 Parent(s): 886aef5

Update app.py

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=(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,