Skip to content

Commit bb50a1a

Browse files
authored
Update App_Spec.py
1 parent fc005fc commit bb50a1a

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

fun_SPEC_NEC/App_Spec.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,12 @@
2525
# pg.run()
2626

2727
import streamlit as st
28-
import runpy
2928

30-
def main():
31-
st.sidebar.title("Navigation")
32-
app_mode = st.sidebar.radio("Go to", ["About Me", "Spec NEC"])
29+
# --- Page Setup ---
3330

34-
if app_mode == "About Me":
35-
about_me()
36-
elif app_mode == "Spec NEC":
37-
spec_nec()
31+
def main():
32+
about_me()
33+
spec_nec()
3834

3935
def about_me():
4036
runpy.run_path('about_me.py')
@@ -46,3 +42,4 @@ def spec_nec():
4642
main()
4743

4844

45+

0 commit comments

Comments
 (0)