Spaces:
Running on Zero
Running on Zero
Vansh Chugh commited on
Commit ·
3a0b9e4
1
Parent(s): 5aeb1fe
cleanup: comment on beat_detector cuda=False
Browse files- .gitignore +0 -1
- app.py +1 -1
.gitignore
CHANGED
|
@@ -2,4 +2,3 @@
|
|
| 2 |
__pycache__/
|
| 3 |
*.pyc
|
| 4 |
.DS_Store
|
| 5 |
-
PiCoGenv2-repo/
|
|
|
|
| 2 |
__pycache__/
|
| 3 |
*.pyc
|
| 4 |
.DS_Store
|
|
|
app.py
CHANGED
|
@@ -117,7 +117,7 @@ def load_assets():
|
|
| 117 |
"jukebox prior_level_2",
|
| 118 |
)
|
| 119 |
|
| 120 |
-
beat_detector = BeatThis(cuda=False)
|
| 121 |
print("Models loaded (CPU); Jukebox weights ready.")
|
| 122 |
except Exception as e:
|
| 123 |
model_error = str(e)
|
|
|
|
| 117 |
"jukebox prior_level_2",
|
| 118 |
)
|
| 119 |
|
| 120 |
+
beat_detector = BeatThis(cuda=False) # CPU is already fast enough (~1.5s/30s clip)
|
| 121 |
print("Models loaded (CPU); Jukebox weights ready.")
|
| 122 |
except Exception as e:
|
| 123 |
model_error = str(e)
|