bafifi4972 commited on
Commit
ab7523d
verified
1 Parent(s): 8e1e76f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -74,7 +74,8 @@ with gr.Blocks(theme='soft', title="Supertonic 3 TTS") as demo:
74
  btn.click(
75
  fn=generate_speech,
76
  inputs=[input_text, voice_opt, lang_opt],
77
- outputs=[audio_output, status_box]
 
78
  )
79
 
80
  if __name__ == "__main__":
 
74
  btn.click(
75
  fn=generate_speech,
76
  inputs=[input_text, voice_opt, lang_opt],
77
+ outputs=[audio_output, status_box],
78
+ api_name="generate" # <--- 袛袨袘袗袙鞋 协孝校 小孝袪袨效袣校
79
  )
80
 
81
  if __name__ == "__main__":