Spaces:
Running on Zero
Running on Zero
LING commited on
Commit ·
83bc4c4
1
Parent(s): 7c17e66
Set SongFormer GPU duration to 240 seconds
Browse files
app.py
CHANGED
|
@@ -267,7 +267,7 @@ model_card = ModelCard(
|
|
| 267 |
)
|
| 268 |
|
| 269 |
|
| 270 |
-
@spaces.GPU(duration=
|
| 271 |
def process_fn(audio_path: str | None) -> str:
|
| 272 |
if not audio_path:
|
| 273 |
raise gr.Error("Upload a music recording.")
|
|
|
|
| 267 |
)
|
| 268 |
|
| 269 |
|
| 270 |
+
@spaces.GPU(duration=240)
|
| 271 |
def process_fn(audio_path: str | None) -> str:
|
| 272 |
if not audio_path:
|
| 273 |
raise gr.Error("Upload a music recording.")
|