mirror of
https://github.com/SWivid/F5-TTS.git
synced 2025-12-29 22:21:50 -08:00
Update infer_gradio.py; help-1
This commit is contained in:
@@ -831,7 +831,7 @@ If you're having issues, try converting your reference audio to WAV or MP3, clip
|
||||
help="Share the app via Gradio share link",
|
||||
)
|
||||
@click.option("--api", "-a", default=True, is_flag=True, help="Allow API access")
|
||||
@click.option("--root_path", "-r", default=None, type=str, help="The root path (or "mount point") of the application, if it's not served from the root (\"/\") of the domain. Often used when the application is behind a reverse proxy that forwards requests to the application, e.g. set \"/myapp\" or full URL for application served at \"https://example.com/myapp\".")
|
||||
@click.option("--root_path", "-r", default=None, type=str, help="The root path (or \"mount point\") of the application, if it's not served from the root (\"/\") of the domain. Often used when the application is behind a reverse proxy that forwards requests to the application, e.g. set \"/myapp\" or full URL for application served at \"https://example.com/myapp\".")
|
||||
def main(port, host, share, api, root_path):
|
||||
global app
|
||||
print("Starting app...")
|
||||
|
||||
Reference in New Issue
Block a user