Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ def main():
|
|
69 |
row1_col1, row1_col2 = st.columns([2, 1])
|
70 |
|
71 |
options = st.sidebar.radio("Choose an option:",
|
72 |
-
("Add and Manage Fields", "Monitor Fields", "
|
73 |
if options == "Add and Manage Fields":
|
74 |
with row1_col1:
|
75 |
st.title("Welcome to :orange[Field Monitoring App]")
|
@@ -83,7 +83,8 @@ def main():
|
|
83 |
elif options == "Monitor Fields":
|
84 |
monitor.monitor_fields()
|
85 |
|
86 |
-
elif options == "
|
|
|
87 |
Model_Report.display_pdf()
|
88 |
else:
|
89 |
authenticate_user()
|
|
|
69 |
row1_col1, row1_col2 = st.columns([2, 1])
|
70 |
|
71 |
options = st.sidebar.radio("Choose an option:",
|
72 |
+
("Add and Manage Fields", "Monitor Fields", "Model Report"))
|
73 |
if options == "Add and Manage Fields":
|
74 |
with row1_col1:
|
75 |
st.title("Welcome to :orange[Field Monitoring App]")
|
|
|
83 |
elif options == "Monitor Fields":
|
84 |
monitor.monitor_fields()
|
85 |
|
86 |
+
elif options == "Model Report":
|
87 |
+
Model_Report.download_pdf_button()
|
88 |
Model_Report.display_pdf()
|
89 |
else:
|
90 |
authenticate_user()
|