Skip to content

Commit

Permalink
Update infer_gradio.py; formatting-1
Browse files Browse the repository at this point in the history
  • Loading branch information
SWivid authored Nov 26, 2024
1 parent d96bd6f commit c066c32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/f5_tts/infer/infer_gradio.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,7 @@ def main(port, host, share, api, root_path):
print("Starting app...")
app.queue(api_open=api).launch(server_name=host, server_port=port, share=share, show_api=api, root_path=root_path)


if __name__ == "__main__":
if not USING_SPACES:
main()
Expand Down

0 comments on commit c066c32

Please sign in to comment.