QY-H00 commited on
Commit
c685143
1 Parent(s): 614bb03
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -245,7 +245,7 @@ def dynamic_gallery_fn(interpolation_size: int):
245
  label="Result", show_label=False, rows=1, columns=interpolation_size
246
  )
247
 
248
- @spaces.GPU(duration=120)
249
  @torch.no_grad()
250
  def generate(
251
  prompt1,
@@ -402,7 +402,7 @@ with gr.Blocks(css="style.css") as demo:
402
  minimum=5,
403
  maximum=10,
404
  step=1,
405
- value=7,
406
  info="Exploration size has to be larger than interpolation size",
407
  )
408
  with gr.Row():
 
245
  label="Result", show_label=False, rows=1, columns=interpolation_size
246
  )
247
 
248
+ @spaces.GPU(duration=110)
249
  @torch.no_grad()
250
  def generate(
251
  prompt1,
 
402
  minimum=5,
403
  maximum=10,
404
  step=1,
405
+ value=5,
406
  info="Exploration size has to be larger than interpolation size",
407
  )
408
  with gr.Row():