Gary3410 commited on
Commit
2f0d54b
1 Parent(s): faf2cb9

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -71,10 +71,12 @@ def create_instruct_demo():
71
  with gr.Row():
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):
 
71
  with gr.Row():
72
  with gr.Column():
73
  scene_img = gr.Image(label='Scene', type='filepath', shape=(1024, 320), height=320, width=1024, interactive=False)
74
+
75
+ object_list = gr.Textbox(
76
+ lines=5, label="Object List", placeholder="Please click one from the examples below", interactive=False)
77
+
78
  instruction = gr.Textbox(
79
  lines=2, label="Instruction", placeholder="Please input the instruction")
 
 
80
  max_len = gr.Slider(minimum=256, maximum=1024,
81
  value=1024, label="Max length")
82
  with gr.Accordion(label='Advanced options', open=False):