Update README.md
Updated to reflect One-Click-Installer GPU / CPU batch files
This commit is contained in:
63
README.md
63
README.md
@@ -1,6 +1,11 @@
|
|||||||
|
<div align="center">
|
||||||
|
|
||||||
# 💀🔊 StableAudioWebUI 💀🔊
|
# 💀🔊 StableAudioWebUI 💀🔊
|
||||||
|
|
||||||
### A Lightweight Gradio Web interface for running Stable Audio Open 1.0
|
### A Lightweight Gradio Web interface for running Stable Audio Open 1.0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
@@ -13,9 +18,27 @@
|
|||||||
|
|
||||||
# ⚠ Disclaimer
|
# ⚠ Disclaimer
|
||||||
|
|
||||||
## I am not responsible for any content generated using this repository. By using this repository, you acknowledge that you are bound by the Stability AI license agreement and will only use this model for research or personal purposes. No commercial usage is allowed! <br>
|
## I am not responsible for any content generated using this repository. By using this repository, you acknowledge that you are bound by the [Stability AI license agreement](https://huggingface.co/stabilityai/stable-audio-open-1.0/blob/main/LICENSE) and will only use this model for research or personal purposes. No commercial usage is allowed! <br>
|
||||||
|
|
||||||
|
|
||||||
|
### Recommended Settings
|
||||||
|
Prompt: Any <br>
|
||||||
|
Sampler: dpmpp-3m-sde <br>
|
||||||
|
CFG: 7 <br>
|
||||||
|
Sigma_Min: 0.3 <br>
|
||||||
|
Sigma_Max: 500 <br>
|
||||||
|
Duration: Max 47s <br>
|
||||||
|
Seed: Any <br>
|
||||||
|
|
||||||
|
### > Saves Files in the following directory Output/YYYY-MM-DD/ <br>
|
||||||
|
### > using the following schema 'your_prompt.mp3' <br>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
# 🚀Updates (0.3)
|
# 🚀Updates (0.3)
|
||||||
|
✅ Added [One-Click-Installer.bat](https://github.com/Saganaki22/StableAudioWebUI/releases/tag/latest) for Windows NVIDIA / CPU Builds
|
||||||
|
|
||||||
✅ Optimised Code for efficiency <br>
|
✅ Optimised Code for efficiency <br>
|
||||||
|
|
||||||
✅ Simplified UI <br>
|
✅ Simplified UI <br>
|
||||||
@@ -37,30 +60,17 @@
|
|||||||
[08/06/2024]
|
[08/06/2024]
|
||||||
|
|
||||||
---
|
---
|
||||||
|
### 📝 Note: For Windows builds with [Nvidia](https://github.com/Saganaki22/StableAudioWebUI/releases/download/latest/One-Click-Installer-GPU.bat) 30xx + or Float32 Capable [CPU](https://github.com/Saganaki22/StableAudioWebUI/releases/download/latest/One-Click-Installer-CPU.bat) you can use the [One-Click-Installer.bat](https://github.com/Saganaki22/StableAudioWebUI/releases/tag/latest) to simplify the process, granted you have logged in to huggingface-cli and auth'd your token prior to running the batch script: Step 3 (the huggingface-cli is used for obtaining the model file)
|
||||||
|
|
||||||
### Recommended Settings
|
## Step 1: Start by cloning the repo:
|
||||||
Prompt: Any <br>
|
|
||||||
Sampler: dpmpp-3m-sde <br>
|
|
||||||
CFG: 7 <br>
|
|
||||||
Sigma_Min: 0.3 <br>
|
|
||||||
Sigma_Max: 500 <br>
|
|
||||||
Duration: Max 47s <br>
|
|
||||||
Seed: Any <br>
|
|
||||||
|
|
||||||
### Saves Files in the following directory Output/YYYY-MM-DD/ <br>
|
|
||||||
### using the following schema 'prompt.mp3' <br>
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Start by cloning the repo:
|
|
||||||
|
|
||||||
git clone https://github.com/Saganaki22/StableAudioWebUI.git
|
git clone https://github.com/Saganaki22/StableAudioWebUI.git
|
||||||
|
|
||||||
|
|
||||||
## Use the below deployment (tested on 24GB Nvidia VRAM):
|
## Step 2: Use the below deployment (tested on 24GB Nvidia VRAM but should work with 12GB too as we have added the Load Half precision, Float16 option in the WebUI):
|
||||||
|
|
||||||
cd StableAudioWebUI
|
cd StableAudioWebUI
|
||||||
python -m venv myenv python=3.10
|
python -m venv myenv
|
||||||
myenv\Scripts\activate
|
myenv\Scripts\activate
|
||||||
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
|
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
@@ -70,26 +80,26 @@ Seed: Any <br>
|
|||||||
|
|
||||||
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
|
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
|
||||||
|
|
||||||
If you haven't got a hugging face account or have not used huggingface-cli before, create an account and then authenticate your Hugging face account with a token (create token at https://huggingface.co/settings/tokens)
|
Step 3: (Optional - read more): If you haven't got a hugging face account or have not used huggingface-cli before, create an account and then authenticate your Hugging face account with a token (create token at https://huggingface.co/settings/tokens)
|
||||||
|
|
||||||
huggingface-cli login
|
huggingface-cli login
|
||||||
|
|
||||||
(paste your token and follow the instructions, token will not be displayed when pasted)
|
(paste your token and follow the instructions, token will not be displayed when pasted)
|
||||||
|
|
||||||
## If you want to run it using CPU <br>
|
## If you want to run it using CPU <br>
|
||||||
skip 'pip install torch torchvision --index-url https://download.pytorch.org/whl/cu121' and just run
|
omit 'pip install torch torchvision --index-url https://download.pytorch.org/whl/cu121' and the process after it and just run
|
||||||
|
|
||||||
pip install -r requirements.txt
|
|
||||||
pip install -r requirements1.txt
|
pip install -r requirements1.txt
|
||||||
|
pip install -r requirements.txt
|
||||||
|
|
||||||
## Run
|
## Step 4: Run
|
||||||
|
|
||||||
|
|
||||||
python gradio_app.py
|
python gradio_app.py
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
## Bonus
|
## ⭐ Bonus
|
||||||
If you are using Windows and followed my setup instructions you could create a batch script to activate the enviroment and run the script all in one, what you need to do is: <br>
|
If you are using Windows and followed my setup instructions you could create a batch script to activate the enviroment and run the script all in one, what you need to do is: <br>
|
||||||
<br>
|
<br>
|
||||||
Create a new text file in the same folder as gradio_app.py & paste this in the text file
|
Create a new text file in the same folder as gradio_app.py & paste this in the text file
|
||||||
@@ -102,7 +112,7 @@ Create a new text file in the same folder as gradio_app.py & paste this in the t
|
|||||||
|
|
||||||
then save the file as run.bat
|
then save the file as run.bat
|
||||||
|
|
||||||
# Screenshots (previous release)
|
# Screenshots (older build)
|
||||||
|
|
||||||
(All with random seeds) <br>
|
(All with random seeds) <br>
|
||||||
|
|
||||||
@@ -140,9 +150,14 @@ Sigma_Max: 500 <br>
|
|||||||
- **License**: See the [LICENSE file](https://huggingface.co/stabilityai/stable-audio-open-1.0/blob/main/LICENSE).
|
- **License**: See the [LICENSE file](https://huggingface.co/stabilityai/stable-audio-open-1.0/blob/main/LICENSE).
|
||||||
- **Commercial License**: to use this model commercially, please refer to [https://stability.ai/membership](https://stability.ai/membership)
|
- **Commercial License**: to use this model commercially, please refer to [https://stability.ai/membership](https://stability.ai/membership)
|
||||||
|
|
||||||
|
<div align="center">
|
||||||
|
|
||||||
#
|
#
|
||||||
|

|
||||||
|
|
||||||
### [Huggingface](https://huggingface.co/stabilityai/stable-audio-open-1.0) | [Stable Audio Tools](https://github.com/Stability-AI/stable-audio-tools) | [Stability AI](https://stability.ai/news/introducing-stable-audio-open)
|
### [Huggingface](https://huggingface.co/stabilityai/stable-audio-open-1.0) | [Stable Audio Tools](https://github.com/Stability-AI/stable-audio-tools) | [Stability AI](https://stability.ai/news/introducing-stable-audio-open)
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user