LakshmiHarika commited on
Commit
ef1b78e
·
verified ·
1 Parent(s): 1782c13

Create 8Model Building.py

Browse files
Files changed (1) hide show
  1. pages/8Model Building.py +33 -0
pages/8Model Building.py ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ import numpy as np
3
+ import matplotlib.pyplot as plt
4
+ import pandas as pd
5
+ import cv2
6
+ import zipfile
7
+ import io
8
+
9
+ st.set_page_config(
10
+ page_title="HomePage",
11
+ page_icon="🚀",
12
+ layout="wide"
13
+ )
14
+
15
+ # Ensure session state for navigation
16
+ if "current_page" not in st.session_state:
17
+ st.session_state.current_page = "main"
18
+
19
+ # Navigation function
20
+ def navigate_to(page_name):
21
+ st.session_state.current_page = page_name
22
+
23
+ # Main Page
24
+ if st.session_state.current_page == "main":
25
+ # Reset scroll to top
26
+ st.query_params.update({})
27
+
28
+ # Page Title
29
+ st.markdown("""
30
+ <div style="text-align: left; margin-top: 20px;">
31
+ <h2 style="color: #BB3385;">Model Building</h2>
32
+ </div>
33
+ """, unsafe_allow_html=True)