Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|