Update app.py
Browse files
app.py
CHANGED
@@ -240,6 +240,7 @@ with gr.Blocks(css=CSS) as demo:
|
|
240 |
[chatbot, user_input, img_state, mode_selector],
|
241 |
[chatbot, user_input, img_state],
|
242 |
)
|
|
|
243 |
image_input.upload(
|
244 |
handle_image_upload, [image_input, chatbot], [img_state, chatbot]
|
245 |
)
|
|
|
240 |
[chatbot, user_input, img_state, mode_selector],
|
241 |
[chatbot, user_input, img_state],
|
242 |
)
|
243 |
+
|
244 |
image_input.upload(
|
245 |
handle_image_upload, [image_input, chatbot], [img_state, chatbot]
|
246 |
)
|