ameerazam08 commited on
Commit
7663981
1 Parent(s): 7f45569

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def generate_audio(prompt, bpm, seconds_total):
23
  device = "cuda" if torch.cuda.is_available() else "cpu"
24
 
25
  # Download model
26
- model, model_config = load_model
27
  sample_rate = model_config["sample_rate"]
28
  sample_size = model_config["sample_size"]
29
 
 
23
  device = "cuda" if torch.cuda.is_available() else "cpu"
24
 
25
  # Download model
26
+ model, model_config = load_model()
27
  sample_rate = model_config["sample_rate"]
28
  sample_size = model_config["sample_size"]
29