Spaces:
Runtime error
Runtime error
adjust zero gpu duration
Browse files
app.py
CHANGED
|
@@ -65,7 +65,7 @@ def check_for_wav_in_outputs():
|
|
| 65 |
else:
|
| 66 |
return None
|
| 67 |
|
| 68 |
-
@spaces.GPU()
|
| 69 |
def infer(prompt_in, chords, duration, bpms):
|
| 70 |
|
| 71 |
# check if 'outputs' dir exists and empty it if necessary
|
|
|
|
| 65 |
else:
|
| 66 |
return None
|
| 67 |
|
| 68 |
+
@spaces.GPU(duration=80)
|
| 69 |
def infer(prompt_in, chords, duration, bpms):
|
| 70 |
|
| 71 |
# check if 'outputs' dir exists and empty it if necessary
|