Spaces:
Configuration error
Configuration error
Merge branch 'main' of https://huggingface.co/spaces/sonalkum/synthio-stable-audio-open
Browse files- app.py +2 -2
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -7,8 +7,8 @@ import os
|
|
| 7 |
import uuid
|
| 8 |
|
| 9 |
# Importing the model-related functions
|
| 10 |
-
from
|
| 11 |
-
from
|
| 12 |
|
| 13 |
# Load the model outside of the GPU-decorated function
|
| 14 |
def load_model():
|
|
|
|
| 7 |
import uuid
|
| 8 |
|
| 9 |
# Importing the model-related functions
|
| 10 |
+
from stable_audio_tools import get_pretrained_model
|
| 11 |
+
from stable_audio_tools.inference.generation import generate_diffusion_cond
|
| 12 |
|
| 13 |
# Load the model outside of the GPU-decorated function
|
| 14 |
def load_model():
|
requirements.txt
CHANGED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
torch==2.0.1
|
| 2 |
-
stable-audio-tools
|
|
|
|
| 1 |
torch==2.0.1
|
| 2 |
+
git+https://github.com/sonalkum/stable-audio-tools.git
|