Update app.py
Browse files
app.py
CHANGED
@@ -243,13 +243,14 @@ Join us : 🌟TeamTonic🌟 is always making cool demos! Join our active builder
|
|
243 |
inputs=[chatbot, task_history],
|
244 |
outputs=[chatbot]
|
245 |
)
|
246 |
-
|
247 |
submit_file_btn.click(
|
248 |
fn=handle_image_submission,
|
249 |
-
inputs=[chatbot, task_history, file_upload],
|
250 |
outputs=[chatbot, task_history]
|
251 |
)
|
252 |
|
|
|
253 |
regen_btn.click(
|
254 |
fn=regenerate,
|
255 |
inputs=[chatbot, task_history],
|
|
|
243 |
inputs=[chatbot, task_history],
|
244 |
outputs=[chatbot]
|
245 |
)
|
246 |
+
|
247 |
submit_file_btn.click(
|
248 |
fn=handle_image_submission,
|
249 |
+
inputs=[chatbot, task_history, file_upload, uploaded_file_dir],
|
250 |
outputs=[chatbot, task_history]
|
251 |
)
|
252 |
|
253 |
+
|
254 |
regen_btn.click(
|
255 |
fn=regenerate,
|
256 |
inputs=[chatbot, task_history],
|