From 21c8961f25d26e768156d9a20769f71f1afd263e Mon Sep 17 00:00:00 2001 From: drbaph <84208527+Saganaki22@users.noreply.github.com> Date: Thu, 6 Jun 2024 09:22:02 +0100 Subject: [PATCH] Update README.md --- README.md | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 958447d..c3eead6 100644 --- a/README.md +++ b/README.md @@ -27,13 +27,12 @@ Seed: Any
--- - Start by cloning the repo: + ## Start by cloning the repo: git clone https://github.com/Saganaki22/StableAudioWebUI.git -
- Use the below deployment (tested on 24GB Nvidia VRAM): +## Use the below deployment (tested on 24GB Nvidia VRAM): cd StableAudioWebUI python -m venv myenv python=3.10 @@ -41,16 +40,12 @@ Seed: Any
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu121 pip install -r requirements.txt -python -m venv myenv - -
- (Note if you have an older Nvidia GPU you may need to use CUDA 11.8) +## (Note if you have an older Nvidia GPU you may need to use CUDA 11.8) pip 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) + 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 @@ -62,13 +57,26 @@ python -m venv myenv pip install -r requirements.txt pip install -r requirements1.txt -## -Run +## Run + python gradio_app.py
+## 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:
+
+Create a new text file in the same folder as gradio_app.py & paste this in the text file + + @echo off + title StableAudioWebUI + call myenv\Scripts\activate + python gradio_app.py + pause + +then save the file as run.bat + # Screenshots (All with random seeds)