nhatipoglu commited on
Commit
4959b00
1 Parent(s): a830944

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -130,13 +130,13 @@ with gr.Blocks(css=css) as demo:
130
  ["assets/2024_09_10_11_07_31.png", "Solve the question", default_system_prompt],
131
  ["assets/comics.jpeg", "Describe the since", default_system_prompt],
132
  ],
133
- inputs=[input_img, text_input, system_prompt],
134
- outputs=[model_output_text, parsed_boxes, annotated_image],
135
  fn=run_example,
136
  cache_examples=True,
137
  label="Try examples"
138
  )
139
 
140
- submit_btn.click(run_example, [input_img, text_input,model_selector], [model_output_text])
141
 
142
  demo.launch(debug=True)
 
130
  ["assets/2024_09_10_11_07_31.png", "Solve the question", default_system_prompt],
131
  ["assets/comics.jpeg", "Describe the since", default_system_prompt],
132
  ],
133
+ inputs=[input_img, text_input],
134
+ outputs=[model_output_text],
135
  fn=run_example,
136
  cache_examples=True,
137
  label="Try examples"
138
  )
139
 
140
+ submit_btn.click(run_example, [input_img, text_input, model_selector], [model_output_text])
141
 
142
  demo.launch(debug=True)