ehristoforu commited on
Commit
b3ac3a5
β€’
1 Parent(s): 3e1a5c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
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=120, enable_queue=True)
115
  def generate(
116
  model,
117
  inpaint_image,
@@ -304,16 +304,16 @@ with gr.Blocks(title="Fluently Playground", css=css) as demo:
304
  width = gr.Slider(
305
  label="Width",
306
  minimum=256,
307
- maximum=1536,
308
  step=8,
309
- value=768,
310
  )
311
  height = gr.Slider(
312
  label="Height",
313
  minimum=256,
314
- maximum=1536,
315
  step=8,
316
- value=768,
317
  )
318
  with gr.Row():
319
  guidance_scale = gr.Slider(
@@ -321,7 +321,7 @@ with gr.Blocks(title="Fluently Playground", css=css) as demo:
321
  minimum=0.1,
322
  maximum=20.0,
323
  step=0.1,
324
- value=5.5,
325
  interactive=False,
326
  )
327
 
 
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,
 
304
  width = gr.Slider(
305
  label="Width",
306
  minimum=256,
307
+ maximum=2048,
308
  step=8,
309
+ value=1024,
310
  )
311
  height = gr.Slider(
312
  label="Height",
313
  minimum=256,
314
+ maximum=2048,
315
  step=8,
316
+ value=1024,
317
  )
318
  with gr.Row():
319
  guidance_scale = gr.Slider(
 
321
  minimum=0.1,
322
  maximum=20.0,
323
  step=0.1,
324
+ value=6,
325
  interactive=False,
326
  )
327