Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -277,11 +277,11 @@ custom_css="""
|
|
| 277 |
}
|
| 278 |
}
|
| 279 |
"""
|
| 280 |
-
creative_slider = gr.
|
| 281 |
-
textbox = gr.
|
| 282 |
label="DESCRIBE YOUR IDEAL APARTMENT")
|
| 283 |
-
generated = gr.
|
| 284 |
-
layout = gr.
|
| 285 |
|
| 286 |
examples = [
|
| 287 |
["two bedrooms and two bathrooms", "Low"],
|
|
|
|
| 277 |
}
|
| 278 |
}
|
| 279 |
"""
|
| 280 |
+
creative_slider = gr.Radio(["Low", "Medium", "High"], default="Low", label='Creativity')
|
| 281 |
+
textbox = gr.Textbox(placeholder='An apartment with two bedrooms and one bathroom', lines="3",
|
| 282 |
label="DESCRIBE YOUR IDEAL APARTMENT")
|
| 283 |
+
generated = gr.Image(label='Generated Layout', type='numpy')
|
| 284 |
+
layout = gr.Textbox(label='Layout Coordinates')
|
| 285 |
|
| 286 |
examples = [
|
| 287 |
["two bedrooms and two bathrooms", "Low"],
|