Fabrice-TIERCELIN commited on
Commit
fedc42a
·
verified ·
1 Parent(s): 733f181

This Pull Request fix the space by using a reacheable model

Browse files

This space is down because you are not allowed to use `stabilityai/stable-audio-open-1.0`. `chaowenguo/stable-audio-open-1.0` is the same model but is public.

Click on _Merge_ to add this feature.

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ from stable_audio_tools.inference.generation import generate_diffusion_cond
8
  device = "cuda" if torch.cuda.is_available() else "cpu"
9
 
10
  # Download model
11
- model, model_config = get_pretrained_model("stabilityai/stable-audio-open-1.0")
12
  sample_rate = model_config["sample_rate"]
13
  sample_size = model_config["sample_size"]
14
 
 
8
  device = "cuda" if torch.cuda.is_available() else "cpu"
9
 
10
  # Download model
11
+ model, model_config = get_pretrained_model("chaowenguo/stable-audio-open-1.0")
12
  sample_rate = model_config["sample_rate"]
13
  sample_size = model_config["sample_size"]
14