Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ from models.soundstream_hubert_new import SoundStream
|
|
| 50 |
print("π§ Loading YuE model on CPU (small version)...")
|
| 51 |
try:
|
| 52 |
model = AutoModelForCausalLM.from_pretrained(
|
| 53 |
-
"m-a-p/YuE-
|
| 54 |
torch_dtype=torch.float32,
|
| 55 |
attn_implementation="eager",
|
| 56 |
low_cpu_mem_usage=True,
|
|
|
|
| 50 |
print("π§ Loading YuE model on CPU (small version)...")
|
| 51 |
try:
|
| 52 |
model = AutoModelForCausalLM.from_pretrained(
|
| 53 |
+
"m-a-p/YuE-upsampler",
|
| 54 |
torch_dtype=torch.float32,
|
| 55 |
attn_implementation="eager",
|
| 56 |
low_cpu_mem_usage=True,
|