Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -649,7 +649,7 @@ def generate_audio(text_prompt, audio, audio_length_in_s=10.0, play_steps_in_s=2
|
|
649 |
return_tensors="pt",
|
650 |
)
|
651 |
|
652 |
-
streamer = MusicgenStreamer(model, device=device, play_steps=play_steps, is_longform=True
|
653 |
|
654 |
generation_kwargs = dict(
|
655 |
**inputs.to(device),
|
|
|
649 |
return_tensors="pt",
|
650 |
)
|
651 |
|
652 |
+
streamer = MusicgenStreamer(model, device=device, play_steps=play_steps, is_longform=True)
|
653 |
|
654 |
generation_kwargs = dict(
|
655 |
**inputs.to(device),
|