perler commited on
Commit
4b7c5a5
1 Parent(s): f9d3dcc

10 min are too long, maybe 3 min

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ import gradio as gr
9
  import spaces
10
 
11
 
12
- @spaces.GPU(duration=60 * 10)
13
  def run_on_gpu(input_shape, text, seed, guidance_scale):
14
  print('Starting inference at {}'.format(datetime.datetime.now()))
15
  from model import Model
 
9
  import spaces
10
 
11
 
12
+ @spaces.GPU(duration=60 * 3)
13
  def run_on_gpu(input_shape, text, seed, guidance_scale):
14
  print('Starting inference at {}'.format(datetime.datetime.now()))
15
  from model import Model