gjbooth2 commited on
Commit
d3fab9d
·
verified ·
1 Parent(s): 7f5e1a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def image_gen(click,rows = 4,cols = 4):
24
  return grid
25
  #return 'button clicked'
26
 
27
- @spaces.GPU
28
  def image_gen_modified(rows=4,cols=4):
29
  pic_hold = []
30
  model_output = pipeline(batch_size=16).images
 
24
  return grid
25
  #return 'button clicked'
26
 
27
+ @spaces.GPU(duration = 300)
28
  def image_gen_modified(rows=4,cols=4):
29
  pic_hold = []
30
  model_output = pipeline(batch_size=16).images