Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -200,7 +200,7 @@ textbox = gr.inputs.Textbox(placeholder='a house with two bedrooms and one bathr
|
|
200 |
label="DESCRIBE YOUR DESIGN")
|
201 |
generated = gr.outputs.Image(label='Generated Layout')
|
202 |
|
203 |
-
|
204 |
outputs=[generated],
|
205 |
css=custom_css,
|
206 |
allow_flagging=False,
|
|
|
200 |
label="DESCRIBE YOUR DESIGN")
|
201 |
generated = gr.outputs.Image(label='Generated Layout')
|
202 |
|
203 |
+
iface = gr.Interface(fn=prompt_to_layout, inputs=[textbox, creative_slider],
|
204 |
outputs=[generated],
|
205 |
css=custom_css,
|
206 |
allow_flagging=False,
|