Update app.py
Browse files
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,
|
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")
|