Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ from kokoro import KModel, KPipeline
|
|
15 |
import soundfile as sf
|
16 |
import math
|
17 |
|
18 |
-
@spaces.GPU(duration=
|
19 |
def hold_gpu():
|
20 |
while True:
|
21 |
time.sleep(10) # Keeps function running to hold the GPU
|
|
|
15 |
import soundfile as sf
|
16 |
import math
|
17 |
|
18 |
+
@spaces.GPU(duration=180) # Keep GPU active for 5 min
|
19 |
def hold_gpu():
|
20 |
while True:
|
21 |
time.sleep(10) # Keeps function running to hold the GPU
|