We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb50a1a commit ea34287Copy full SHA for ea34287
fun_SPEC_NEC/App_Spec.py
@@ -25,12 +25,16 @@
25
# pg.run()
26
27
import streamlit as st
28
-
29
-# --- Page Setup ---
+import runpy
30
31
def main():
32
- about_me()
33
- spec_nec()
+ st.sidebar.title("Navigation")
+ app_mode = st.sidebar.radio("Go to", ["About Me", "Spec NEC"])
+
34
+ if app_mode == "About Me":
35
+ about_me()
36
+ elif app_mode == "Spec NEC":
37
+ spec_nec()
38
39
def about_me():
40
runpy.run_path('about_me.py')
@@ -43,3 +47,4 @@ def spec_nec():
43
47
44
48
45
49
50
0 commit comments