sonalkum commited on
Commit
8b87f64
·
verified ·
1 Parent(s): b8a99cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def generate_audio(prompt, seconds_total=30, steps=100, cfg_scale=7):
40
 
41
  print(f"Sample rate: {sample_rate}, Sample size: {sample_size}")
42
 
43
- model = model.to(device)
44
  print("Model moved to device.")
45
 
46
  # Set up text and timing conditioning
 
40
 
41
  print(f"Sample rate: {sample_rate}, Sample size: {sample_size}")
42
 
43
+ model.to(device)
44
  print("Model moved to device.")
45
 
46
  # Set up text and timing conditioning