Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ from stable_audio_tools import get_pretrained_model
|
|
8 |
from stable_audio_tools.inference.generation import generate_diffusion_cond
|
9 |
|
10 |
# Authenticate using HF token from secrets
|
11 |
-
login(token=os.getenv("HUGGINGFACE_TOKEN"))
|
12 |
|
13 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
14 |
model, config = get_pretrained_model("stabilityai/stable-audio-open-small")
|
|
|
8 |
from stable_audio_tools.inference.generation import generate_diffusion_cond
|
9 |
|
10 |
# Authenticate using HF token from secrets
|
11 |
+
login(token=os.getenv("HUGGINGFACE_TOKEN"), add_to_git_credential=False)
|
12 |
|
13 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
14 |
model, config = get_pretrained_model("stabilityai/stable-audio-open-small")
|