tree3po commited on
Commit
c7251cc
·
verified ·
1 Parent(s): 2669ca5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -277,7 +277,7 @@ custom_css="""
277
  }
278
  }
279
  """
280
- creative_slider = gr.Radio(["Low", "Medium", "High"], label='Creativity')
281
  textbox = gr.Textbox(placeholder='An apartment with two bedrooms and one bathroom', lines=3, label="DESCRIBE YOUR IDEAL APARTMENT")
282
  generated = gr.Image(label='Generated Layout', type='numpy')
283
  layout = gr.Textbox(label='Layout Coordinates')
@@ -309,4 +309,4 @@ iface = gr.Interface(fn=retry_prompt_to_layout, inputs=[textbox, creative_slider
309
  allow_flagging='never',
310
  examples=examples)
311
 
312
- iface.queue(concurrency_count=20).launch()
 
277
  }
278
  }
279
  """
280
+ creative_slider = gr.Radio(["Low", "Medium", "High"], value="Low", label='Creativity')
281
  textbox = gr.Textbox(placeholder='An apartment with two bedrooms and one bathroom', lines=3, label="DESCRIBE YOUR IDEAL APARTMENT")
282
  generated = gr.Image(label='Generated Layout', type='numpy')
283
  layout = gr.Textbox(label='Layout Coordinates')
 
309
  allow_flagging='never',
310
  examples=examples)
311
 
312
+ iface.queue().launch()