Add --listen-host launch option (#1122)
This commit is contained in:
parent
403be8a27f
commit
9d66957207
3 changed files with 3 additions and 1 deletions
|
@ -136,6 +136,7 @@ parser.add_argument('--rwkv-cuda-on', action='store_true', help='RWKV: Compile t
|
|||
|
||||
# Gradio
|
||||
parser.add_argument('--listen', action='store_true', help='Make the web UI reachable from your local network.')
|
||||
parser.add_argument('--listen-host', type=str, help='The hostname that the server will use.')
|
||||
parser.add_argument('--listen-port', type=int, help='The listening port that the server will use.')
|
||||
parser.add_argument('--share', action='store_true', help='Create a public URL. This is useful for running the web UI on Google Colab or similar.')
|
||||
parser.add_argument('--auto-launch', action='store_true', default=False, help='Open the web UI in the default browser upon launch.')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue