Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -229,7 +229,8 @@ mustango = Mustango(device="cpu")
|
|
| 229 |
mustango.vae.to(device_type)
|
| 230 |
mustango.stft.to(device_type)
|
| 231 |
mustango.model.to(device_type)
|
| 232 |
-
mustango.music_model.to(device_type)
|
|
|
|
| 233 |
# if torch.cuda.is_available():
|
| 234 |
# mustango = Mustango()
|
| 235 |
# else:
|
|
|
|
| 229 |
mustango.vae.to(device_type)
|
| 230 |
mustango.stft.to(device_type)
|
| 231 |
mustango.model.to(device_type)
|
| 232 |
+
mustango.music_model.beats_model.to(device_type)
|
| 233 |
+
mustango.music_model.chord_model.to(device_type)
|
| 234 |
# if torch.cuda.is_available():
|
| 235 |
# mustango = Mustango()
|
| 236 |
# else:
|