This code works on python 3.10 (lower versions don't support "|" type annotations, and i believe 3.11 doesn't have support for the TTS library currently).
You also need to have Git installed, you might already have it, run git --version
in a console/terminal to see if you already have it installed.
On Windows, you need to have visual studio C++ build tools installed.
- Extensions
Automatic installers! (Download)
- Put the installer in a folder
- Run the installer for your operating system.
- Now run the webui's install script. Follow the steps at 📦 Installing
It is recommended to use git to download the webui, using git allows for easy updating.
To download using git, run git clone https://github.com/gitmylo/audio-webui
in a console/terminal
Installation is done automatically in a venv when you run run.bat
or run.sh
(.bat on Windows, .sh on Linux/MacOS).
To update,
run update.bat
on windows, update.sh
on linux/macos
OR run git pull
in the folder your webui is installed in.
Running should be as simple as running run.bat
or run.sh
depending on your OS.
Everything should get installed automatically.
If there's an issue with running, please create an issue
Name | Args | Short | Usage | Description |
---|---|---|---|---|
--skip-install | [None] | -si | -si | Skip installing packages |
--skip-venv | [None] | -sv | -sv | Skip creating/activating venv, also skips install. (for advanced users) |
--no-data-cache | [None] | [None] | --no-data-cache | Don't change the default dir for huggingface_hub models. (This might fix some models not loading) |
--launch | [None] | [None] | --launch | Automatically open the webui in your browser once it launches. |
--share | [None] | -s | -s | Share the gradio instance publicly |
--username | username (str) | -u, --user | -u username | Set the username for gradio |
--password | password (str) | -p, --pass | -p password | Set the password for gradio |
--theme | theme (str) | [None] | --theme "gradio/soft" | Set the theme for gradio |
--listen | [None] | -l | -l | Listen a server, allowing other devices within your local network to access the server. (or outside if port forwarded) |
--port | port (int) | [None] | --port 12345 | Set a custom port to listen on, by default a port is picked automatically |
moved to a separate readme