Spaces:
Sleeping
Sleeping
LordFarquaad42
commited on
Commit
·
9bb378b
1
Parent(s):
8753564
home file now controls home page for / and /home
Browse files
app.py
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
-
|
2 |
-
|
3 |
|
4 |
-
|
5 |
-
st.title('Home')
|
|
|
1 |
+
from pages.home import home
|
2 |
+
# idea: instead of "redirecting" - you can have redirects render different pages on main page
|
3 |
|
4 |
+
home()
|
|
functions/__pycache__/sidebar.cpython-312.pyc
CHANGED
Binary files a/functions/__pycache__/sidebar.cpython-312.pyc and b/functions/__pycache__/sidebar.cpython-312.pyc differ
|
|
pages/__pycache__/home.cpython-312.pyc
ADDED
Binary file (711 Bytes). View file
|
|
pages/__pycache__/ragChat.cpython-312.pyc
ADDED
Binary file (5.97 kB). View file
|
|
pages/home.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1 |
import streamlit as st
|
|
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
+
from functions.sidebar import sidebar
|
3 |
|
4 |
+
def home():
|
5 |
+
sidebar()
|
6 |
+
st.header("Home")
|
7 |
+
st.write("add a desc here")
|
8 |
+
|
9 |
+
st.subheader("Goto Chat")
|
10 |
+
st.page_link(page="pages/ragChat.py", label="RAG CHAT", icon="💬")
|
11 |
+
|
12 |
+
if __name__ == "__main__":
|
13 |
+
home()
|