Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(
|
|
|
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()
|