Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,3 @@
|
|
1 |
-
#!/usr/bin/env python3
|
2 |
-
"""
|
3 |
-
GhostAI Music Generator β ZeroGPU Space
|
4 |
-
β’ Each request grabs a transient GPU via Hugging Face ZeroGPU.
|
5 |
-
β’ Model: facebook/musicgen-medium (downloaded with HF_TOKEN secret).
|
6 |
-
β’ Runtime installs audiocraft==1.3.0 --no-deps to dodge spaCy/typer issues.
|
7 |
-
"""
|
8 |
-
|
9 |
-
# ββ 0. ZeroGPU must be imported *before* torch is touched ββββββββββ
|
10 |
import spaces # <-- DO NOT move this lower
|
11 |
|
12 |
# ββ 1. Standard libs βββββββββββββββββββββββββββββββββββββββββββββββ
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import spaces # <-- DO NOT move this lower
|
2 |
|
3 |
# ββ 1. Standard libs βββββββββββββββββββββββββββββββββββββββββββββββ
|