Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -49,10 +49,10 @@ with gr.Blocks() as demo:
|
|
| 49 |
else:
|
| 50 |
return analyze_image(single_image, min_size, circularity,do_necrosis)
|
| 51 |
|
| 52 |
-
process_btn.click(
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
)
|
| 57 |
|
| 58 |
demo.launch()
|
|
|
|
| 49 |
else:
|
| 50 |
return analyze_image(single_image, min_size, circularity,do_necrosis)
|
| 51 |
|
| 52 |
+
process_btn.click(
|
| 53 |
+
conditional_analyze,
|
| 54 |
+
inputs=[z_stack_checkbox, image_input_single, image_input_multi, min_size_input, circularity_input, do_necrosis_checkbox],
|
| 55 |
+
outputs=[output_image, output_file_img, output_file_excel]
|
| 56 |
+
)
|
| 57 |
|
| 58 |
demo.launch()
|