Yushen CHEN
commited on
Commit
·
1e59be7
1
Parent(s):
986bfa7
Update infer_gradio.py; formatting
Browse files
src/f5_tts/infer/infer_gradio.py
CHANGED
@@ -831,7 +831,13 @@ If you're having issues, try converting your reference audio to WAV or MP3, clip
|
|
831 |
help="Share the app via Gradio share link",
|
832 |
)
|
833 |
@click.option("--api", "-a", default=True, is_flag=True, help="Allow API access")
|
834 |
-
@click.option(
|
|
|
|
|
|
|
|
|
|
|
|
|
835 |
def main(port, host, share, api, root_path):
|
836 |
global app
|
837 |
print("Starting app...")
|
|
|
831 |
help="Share the app via Gradio share link",
|
832 |
)
|
833 |
@click.option("--api", "-a", default=True, is_flag=True, help="Allow API access")
|
834 |
+
@click.option(
|
835 |
+
"--root_path",
|
836 |
+
"-r",
|
837 |
+
default=None,
|
838 |
+
type=str,
|
839 |
+
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".',
|
840 |
+
)
|
841 |
def main(port, host, share, api, root_path):
|
842 |
global app
|
843 |
print("Starting app...")
|