Skip to content

Commit c985da1

Browse files
committed
added path=/upload-image
1 parent 3304e86 commit c985da1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/fundus_murag/ui/main.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
examples_row_component,
6060
model_picker_component,
6161
page_header_component,
62+
upload_image_component,
6263
)
6364
from fundus_murag.ui.config import APP_NAME, APP_WIDTH, ROOT_BOX_STYLE, STYLESHEETS
6465
from fundus_murag.ui.model_picker_dialog import model_picker_dialog
@@ -99,6 +100,7 @@ def on_start_page_load(e: me.LoadEvent):
99100
)
100101
def start_page():
101102
model_picker_dialog()
103+
fundus_record_dialog()
102104
with me.box(style=ROOT_BOX_STYLE):
103105
page_header_component()
104106
with me.box(
@@ -189,3 +191,11 @@ def conversation_page():
189191
)
190192
):
191193
chat_input_component()
194+
195+
196+
@me.page(
197+
path="/upload-image",
198+
title="Upload an Image",
199+
)
200+
def upload_image_page():
201+
upload_image_component()

0 commit comments

Comments
 (0)