Spaces:
Sleeping
Sleeping
Update my_model/utilities/ui_manager.py
Browse files
my_model/utilities/ui_manager.py
CHANGED
@@ -26,10 +26,13 @@ class UIManager:
|
|
26 |
|
27 |
def display_sidebar(self):
|
28 |
"""Displays the sidebar for navigation."""
|
29 |
-
|
30 |
-
st.sidebar.title("Navigation")
|
31 |
-
selection = st.sidebar.radio("Go to", list(self.tabs.keys()))
|
32 |
st.sidebar.image("Files/logo.png", use_column_width=True)
|
|
|
|
|
|
|
|
|
|
|
33 |
return selection
|
34 |
|
35 |
|
@@ -69,7 +72,7 @@ class UIManager:
|
|
69 |
|
70 |
def display_run_inference(self):
|
71 |
"""Displays the Run Inference page."""
|
72 |
-
|
73 |
inference_runner = InferenceRunner()
|
74 |
inference_runner.run_inference()
|
75 |
|
|
|
26 |
|
27 |
def display_sidebar(self):
|
28 |
"""Displays the sidebar for navigation."""
|
29 |
+
|
|
|
|
|
30 |
st.sidebar.image("Files/logo.png", use_column_width=True)
|
31 |
+
st.write("")
|
32 |
+
st.write("")
|
33 |
+
st.sidebar.title("Navigation")
|
34 |
+
selection = st.sidebar.radio("Go to:", list(self.tabs.keys()))
|
35 |
+
|
36 |
return selection
|
37 |
|
38 |
|
|
|
72 |
|
73 |
def display_run_inference(self):
|
74 |
"""Displays the Run Inference page."""
|
75 |
+
st.title("Run Inference")
|
76 |
inference_runner = InferenceRunner()
|
77 |
inference_runner.run_inference()
|
78 |
|