Update image.py
Browse files
image.py
CHANGED
|
@@ -372,7 +372,7 @@ def image_tab():
|
|
| 372 |
|
| 373 |
preview_image_btn.click(
|
| 374 |
fn=preview_image_equation,
|
| 375 |
-
inputs=[extracted_eq_state,
|
| 376 |
outputs=[image_equation_display, confirm_image_btn, edit_image_btn,
|
| 377 |
image_steps_md, image_plot_output]
|
| 378 |
)
|
|
@@ -388,8 +388,8 @@ def image_tab():
|
|
| 388 |
|
| 389 |
confirm_image_btn.click(
|
| 390 |
fn=confirm_image_solution,
|
| 391 |
-
inputs=[extracted_eq_state,
|
| 392 |
-
outputs=[image_steps_md, image_plot_output, image_solution_txt]
|
| 393 |
)
|
| 394 |
|
| 395 |
def enable_manual_edit(eq_data):
|
|
|
|
| 372 |
|
| 373 |
preview_image_btn.click(
|
| 374 |
fn=preview_image_equation,
|
| 375 |
+
inputs=[extracted_eq_state, real_image_checkbox],
|
| 376 |
outputs=[image_equation_display, confirm_image_btn, edit_image_btn,
|
| 377 |
image_steps_md, image_plot_output]
|
| 378 |
)
|
|
|
|
| 388 |
|
| 389 |
confirm_image_btn.click(
|
| 390 |
fn=confirm_image_solution,
|
| 391 |
+
inputs=[extracted_eq_state, real_image_checkbox],
|
| 392 |
+
outputs=[image_steps_md, image_plot_output, image_solution_txt]
|
| 393 |
)
|
| 394 |
|
| 395 |
def enable_manual_edit(eq_data):
|