Spaces:
Sleeping
Sleeping
LordFarquaad42
commited on
Commit
·
83fd90b
1
Parent(s):
9bb378b
misc
Browse files- pages/home.py +4 -1
pages/home.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
from functions.sidebar import sidebar
|
3 |
|
|
|
4 |
def home():
|
5 |
sidebar()
|
6 |
st.header("Home")
|
@@ -9,5 +10,7 @@ def home():
|
|
9 |
st.subheader("Goto Chat")
|
10 |
st.page_link(page="pages/ragChat.py", label="RAG CHAT", icon="💬")
|
11 |
|
|
|
|
|
12 |
if __name__ == "__main__":
|
13 |
-
home()
|
|
|
1 |
import streamlit as st
|
2 |
from functions.sidebar import sidebar
|
3 |
|
4 |
+
|
5 |
def home():
|
6 |
sidebar()
|
7 |
st.header("Home")
|
|
|
10 |
st.subheader("Goto Chat")
|
11 |
st.page_link(page="pages/ragChat.py", label="RAG CHAT", icon="💬")
|
12 |
|
13 |
+
|
14 |
+
# if page is called directly (/home)
|
15 |
if __name__ == "__main__":
|
16 |
+
home()
|