Spaces:
Running
Running
updated citation
Browse files- optimize_demo.py +2 -26
optimize_demo.py
CHANGED
|
@@ -391,8 +391,8 @@ def create_gradio_interface(plate_metadata, default_fields, data_xr, pixel_scale
|
|
| 391 |
with gr.Blocks() as demo:
|
| 392 |
gr.Markdown("# waveOrder Phase Reconstruction Demo")
|
| 393 |
gr.Markdown(
|
| 394 |
-
"**Paper:** Chandler et al.
|
| 395 |
-
"[arXiv:2412.09775](https://arxiv.org/abs/2412.09775)\n\n"
|
| 396 |
"**GitHub Repository:** [mehta-lab/waveorder](https://github.com/mehta-lab/waveorder)"
|
| 397 |
)
|
| 398 |
gr.Markdown("---")
|
|
@@ -676,27 +676,3 @@ def _wire_event_handlers(
|
|
| 676 |
inputs=[],
|
| 677 |
outputs=[iteration_history, iteration_slider, iteration_info],
|
| 678 |
)
|
| 679 |
-
|
| 680 |
-
|
| 681 |
-
# ============================================================================
|
| 682 |
-
# MAIN ENTRY POINT
|
| 683 |
-
# ============================================================================
|
| 684 |
-
|
| 685 |
-
if __name__ == "__main__":
|
| 686 |
-
# Initialize single FOV data
|
| 687 |
-
data_xr, pixel_scales = initialize_single_fov()
|
| 688 |
-
|
| 689 |
-
# Create and launch interface
|
| 690 |
-
demo = create_gradio_interface(data_xr, pixel_scales)
|
| 691 |
-
|
| 692 |
-
print("\n" + "=" * 60)
|
| 693 |
-
print("Starting Gradio Phase Reconstruction Viewer")
|
| 694 |
-
print("=" * 60)
|
| 695 |
-
print("Open your browser to the URL shown below")
|
| 696 |
-
print("=" * 60 + "\n")
|
| 697 |
-
|
| 698 |
-
demo.launch(
|
| 699 |
-
share=False, # Set to True to create public link
|
| 700 |
-
# server_name="0.0.0.0", # Allow external access
|
| 701 |
-
server_port=Config.SERVER_PORT,
|
| 702 |
-
)
|
|
|
|
| 391 |
with gr.Blocks() as demo:
|
| 392 |
gr.Markdown("# waveOrder Phase Reconstruction Demo")
|
| 393 |
gr.Markdown(
|
| 394 |
+
"**Paper:** Chandler T., Ivanov I.E., Hirata-Miyasaki E., et al. \"WaveOrder: Physics-informed ML for auto-tuned multi-contrast computational microscopy from cells to organisms.\" "
|
| 395 |
+
"[arXiv:2412.09775](https://arxiv.org/abs/2412.09775) (2025)\n\n"
|
| 396 |
"**GitHub Repository:** [mehta-lab/waveorder](https://github.com/mehta-lab/waveorder)"
|
| 397 |
)
|
| 398 |
gr.Markdown("---")
|
|
|
|
| 676 |
inputs=[],
|
| 677 |
outputs=[iteration_history, iteration_slider, iteration_info],
|
| 678 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|