m7mdal7aj commited on
Commit
5bf37af
·
verified ·
1 Parent(s): 2dfcdad

Update my_model/utilities/ui_manager.py

Browse files
Files changed (1) hide show
  1. my_model/utilities/ui_manager.py +12 -1
my_model/utilities/ui_manager.py CHANGED
@@ -5,7 +5,8 @@ from my_model.tabs.run_inference import InferenceRunner
5
  from my_model.tabs.results import run_demo
6
  from my_model.tabs.home import run_home
7
  from my_model.state_manager import StateManager
8
- from my_model.tabs.dataset_analysis import run_dataset_analyzer
 
9
 
10
  class UIManager():
11
  """Manages the user interface for the Streamlit application."""
@@ -16,6 +17,7 @@ class UIManager():
16
  self.tabs = {
17
  "Home": self.display_home,
18
  "Dataset Analysis": self.display_dataset_analysis,
 
19
  "Results": self.display_results,
20
  "Run Inference": self.display_run_inference,
21
  "Dissertation Report": self.display_dissertation_report,
@@ -80,6 +82,15 @@ class UIManager():
80
 
81
  run_demo()
82
 
 
 
 
 
 
 
 
 
 
83
 
84
  def display_run_inference(self):
85
  """Displays the Run Inference page."""
 
5
  from my_model.tabs.results import run_demo
6
  from my_model.tabs.home import run_home
7
  from my_model.state_manager import StateManager
8
+ from my_model.tabs.dataset_analysis import run_dataset_analyzer run_model_arch
9
+ from my_model.tabs.model_arch import run_model_arch
10
 
11
  class UIManager():
12
  """Manages the user interface for the Streamlit application."""
 
17
  self.tabs = {
18
  "Home": self.display_home,
19
  "Dataset Analysis": self.display_dataset_analysis,
20
+ "Model Architecture": self.display_model_arch()
21
  "Results": self.display_results,
22
  "Run Inference": self.display_run_inference,
23
  "Dissertation Report": self.display_dissertation_report,
 
82
 
83
  run_demo()
84
 
85
+ def display_model_arch(self):
86
+ """Displays Model Architecture page."""
87
+
88
+ st.title("Model Architecture")
89
+ st.write("This page shows the detailed Model Architecture.")
90
+ st.write("\n")
91
+
92
+ run_model_arch()
93
+
94
 
95
  def display_run_inference(self):
96
  """Displays the Run Inference page."""