Prof-Hunt commited on
Commit
2dc7372
·
verified ·
1 Parent(s): 80bbef5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=300) # Keep GPU active for 5 min
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