Spaces:
Running
on
Zero
Running
on
Zero
peoplepilot
commited on
Commit
·
f560ce7
1
Parent(s):
452076b
even shorter gpu duration (10s)
Browse files
app.py
CHANGED
|
@@ -153,7 +153,7 @@ def save_audio(tensor, sample_rate):
|
|
| 153 |
return tmp.name
|
| 154 |
|
| 155 |
|
| 156 |
-
@spaces.GPU(duration=
|
| 157 |
def separate_audio(model_name, file_path, text_prompt, chunk_duration=DEFAULT_CHUNK_DURATION, progress=gr.Progress()):
|
| 158 |
global model, processor
|
| 159 |
|
|
|
|
| 153 |
return tmp.name
|
| 154 |
|
| 155 |
|
| 156 |
+
@spaces.GPU(duration=10)
|
| 157 |
def separate_audio(model_name, file_path, text_prompt, chunk_duration=DEFAULT_CHUNK_DURATION, progress=gr.Progress()):
|
| 158 |
global model, processor
|
| 159 |
|