xuxw98 commited on
Commit
9cfe815
1 Parent(s): dc772af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -153,7 +153,7 @@ def create_instruct_demo():
153
  with gr.Column():
154
  outputs = gr.Textbox(lines=20, label="Output")
155
 
156
- inputs = [scene_img, instruction, object_list, max_len, top_k, temp]
157
 
158
  # 接下来设定具体的example格式
159
  examples_img_list = glob.glob("caption_demo/*.png")
 
153
  with gr.Column():
154
  outputs = gr.Textbox(lines=20, label="Output")
155
 
156
+ inputs = [scene_img, instruction, object_list, max_len, temp, top_k]
157
 
158
  # 接下来设定具体的example格式
159
  examples_img_list = glob.glob("caption_demo/*.png")