Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -69,7 +69,7 @@ custom_theme = gr.themes.Soft(
|
|
| 69 |
neutral_hue="slate"
|
| 70 |
)
|
| 71 |
|
| 72 |
-
with gr.Blocks(title="MetaOCT Virtual Clinic") as demo:
|
| 73 |
gr.Markdown("# 👁️ MetaOCT: Virtual Medical Clinic (POMDP)")
|
| 74 |
gr.Markdown("Prove your diagnostic efficiency. You have a limited budget. Perform necessary scans before extracting the final diagnosis! Made for the Meta OpenEnv Challenge.")
|
| 75 |
|
|
@@ -113,4 +113,4 @@ with gr.Blocks(title="MetaOCT Virtual Clinic") as demo:
|
|
| 113 |
btn_diagnose.click(fn=ui_step_diagnose, inputs=[env_state, diagnosis_dropdown], outputs=[env_state, budget_display, clinical_log, scan_image, status_box])
|
| 114 |
|
| 115 |
if __name__ == "__main__":
|
| 116 |
-
demo.launch(server_name="0.0.0.0", server_port=7860
|
|
|
|
| 69 |
neutral_hue="slate"
|
| 70 |
)
|
| 71 |
|
| 72 |
+
with gr.Blocks(theme=custom_theme, title="MetaOCT Virtual Clinic") as demo:
|
| 73 |
gr.Markdown("# 👁️ MetaOCT: Virtual Medical Clinic (POMDP)")
|
| 74 |
gr.Markdown("Prove your diagnostic efficiency. You have a limited budget. Perform necessary scans before extracting the final diagnosis! Made for the Meta OpenEnv Challenge.")
|
| 75 |
|
|
|
|
| 113 |
btn_diagnose.click(fn=ui_step_diagnose, inputs=[env_state, diagnosis_dropdown], outputs=[env_state, budget_display, clinical_log, scan_image, status_box])
|
| 114 |
|
| 115 |
if __name__ == "__main__":
|
| 116 |
+
demo.launch(server_name="0.0.0.0", server_port=7860)
|