yanyihan-xiaomi commited on
Commit
966a9a2
·
1 Parent(s): 7c3dec6

Update demo launch to hide API display

Browse files

Modified the demo launch function to set show_api to False, improving user experience by hiding the API details during the demo.

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -526,7 +526,7 @@ def main():
526
  outputs=[title_markdown, preset_character_dropdown, preset_voice_dropdown],
527
  )
528
 
529
- demo.launch()
530
 
531
 
532
  if __name__ == "__main__":
 
526
  outputs=[title_markdown, preset_character_dropdown, preset_voice_dropdown],
527
  )
528
 
529
+ demo.launch(show_api=False)
530
 
531
 
532
  if __name__ == "__main__":