Skip to content

Command Line Arguments

jhj0517 edited this page Apr 6, 2024 · 18 revisions

How to use

You can run project with some command line arguments by running user-start-webui.bat file.

You can set the values in there and run it.

Or you can just run the project directly on command line with lower case arguments, for example:

python app.py --share --server_name 0.0.0.0 --theme author/example_theme

Arguments

Most arguments are related to Gradio's launch options. See the Gradio documentation for a detailed explanation.

Variable Description Example Value
--server_name Server name to set in Gradio. 0.0.0.0
--server_port Server port number to use when launching Gradio. 7861
--username Server username for Gradio. Both USERNAME and PASSWORD must be set simultaneously to enable authentication. myusername
--password Server password for Gradio. Both USERNAME and PASSWORD must be set simultaneously to enable authentication. mypassword
--share Enables the creation of a public link for the project. True
--theme UI theme to apply in the browser. View available themes here: Theme Gallery author/example_theme
--disable_faster_whisper This project uses an optimized whisper called faster-whisper by default for better VRAM usage and transcription speed. If you want to use the original OpenAI whisper implementation, you can set this value to True. True
Clone this wiki locally