Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -72,9 +72,9 @@ def create_instruct_demo():
|
|
72 |
with gr.Column():
|
73 |
scene_img = gr.Image(label='Scene', type='filepath', shape=(1024, 320), height=320, width=1024, interactive=False)
|
74 |
instruction = gr.Textbox(
|
75 |
-
lines=2, label="Instruction")
|
76 |
object_list = gr.Textbox(
|
77 |
-
lines=5, label="Object List")
|
78 |
max_len = gr.Slider(minimum=256, maximum=1024,
|
79 |
value=1024, label="Max length")
|
80 |
with gr.Accordion(label='Advanced options', open=False):
|
|
|
72 |
with gr.Column():
|
73 |
scene_img = gr.Image(label='Scene', type='filepath', shape=(1024, 320), height=320, width=1024, interactive=False)
|
74 |
instruction = gr.Textbox(
|
75 |
+
lines=2, label="Instruction", placeholder="Please input the instruction")
|
76 |
object_list = gr.Textbox(
|
77 |
+
lines=5, label="Object List", placeholder="Please input the objects in the scene")
|
78 |
max_len = gr.Slider(minimum=256, maximum=1024,
|
79 |
value=1024, label="Max length")
|
80 |
with gr.Accordion(label='Advanced options', open=False):
|