Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -204,25 +204,20 @@ def page2():
|
|
204 |
st.write("This is the content of the new page.")
|
205 |
|
206 |
def main():
|
|
|
207 |
with st.sidebar:
|
208 |
st.title('BinDoc GmbH')
|
209 |
st.markdown("Experience revolutionary interaction with BinDocs Chat App, leveraging state-of-the-art AI technology.")
|
210 |
-
|
211 |
-
add_vertical_space(1) # Adjust as per the desired spacing
|
212 |
-
|
213 |
-
st.sidebar.title('Navigation')
|
214 |
page = st.sidebar.selectbox("Choose a page", ["Page 1", "Page 2"])
|
215 |
-
|
216 |
-
if page == "Page 1":
|
217 |
-
page1()
|
218 |
-
elif page == "Page 2":
|
219 |
-
page2()
|
220 |
-
|
221 |
-
add_vertical_space(1) # Adjust as per the desired spacing
|
222 |
-
|
223 |
st.write('Made with ❤️ by BinDoc GmbH')
|
224 |
-
|
225 |
|
226 |
-
|
|
|
|
|
|
|
|
|
|
|
227 |
if __name__ == "__main__":
|
228 |
-
main()
|
|
|
204 |
st.write("This is the content of the new page.")
|
205 |
|
206 |
def main():
|
207 |
+
# Sidebar content
|
208 |
with st.sidebar:
|
209 |
st.title('BinDoc GmbH')
|
210 |
st.markdown("Experience revolutionary interaction with BinDocs Chat App, leveraging state-of-the-art AI technology.")
|
211 |
+
add_vertical_space(1)
|
|
|
|
|
|
|
212 |
page = st.sidebar.selectbox("Choose a page", ["Page 1", "Page 2"])
|
213 |
+
add_vertical_space(1)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
214 |
st.write('Made with ❤️ by BinDoc GmbH')
|
|
|
215 |
|
216 |
+
# Main area content based on page selection
|
217 |
+
if page == "Page 1":
|
218 |
+
page1()
|
219 |
+
elif page == "Page 2":
|
220 |
+
page2()
|
221 |
+
|
222 |
if __name__ == "__main__":
|
223 |
+
main()
|