ehristoforu commited on
Commit
9e7daa2
1 Parent(s): c92a8e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -111,7 +111,7 @@ def get_model(model):
111
  return gr.update(visible=False), gr.update(visible=False), gr.update(visible=False), gr.update(visible=False), gr.update(visible=False), gr.update(interactive=True)
112
 
113
 
114
- @spaces.GPU(duration=50, enable_queue=True)
115
  def generate(
116
  model,
117
  inpaint_image,
@@ -375,4 +375,4 @@ with gr.Blocks(title="Fluently Playground", css=css) as demo:
375
  )
376
 
377
  if __name__ == "__main__":
378
- demo.queue(max_size=20).launch(show_api=False, debug=False)
 
111
  return gr.update(visible=False), gr.update(visible=False), gr.update(visible=False), gr.update(visible=False), gr.update(visible=False), gr.update(interactive=True)
112
 
113
 
114
+ @spaces.GPU(duration=70, enable_queue=True)
115
  def generate(
116
  model,
117
  inpaint_image,
 
375
  )
376
 
377
  if __name__ == "__main__":
378
+ demo.queue(max_size=50).launch(show_api=False, debug=False)