artificialguybr commited on
Commit
514dec9
1 Parent(s): 00aa3d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def generate_audio(prompt, seconds_total=30, steps=100, cfg_scale=7):
21
  raise EnvironmentError("HF_TOKEN environment variable not set")
22
 
23
  # Download and set up the model
24
- model, model_config = get_pretrained_model("stabilityai/stable-audio-open-1.0", TOKEN=hf_token)
25
  sample_rate = model_config["sample_rate"]
26
  sample_size = model_config["sample_size"]
27
 
 
21
  raise EnvironmentError("HF_TOKEN environment variable not set")
22
 
23
  # Download and set up the model
24
+ model, model_config = get_pretrained_model("stabilityai/stable-audio-open-1.0", token=hf_token)
25
  sample_rate = model_config["sample_rate"]
26
  sample_size = model_config["sample_size"]
27