Spaces:
Sleeping
Sleeping
import streamlit as st | |
import pandas as pd | |
st.set_page_config( | |
page_title="app", | |
page_icon="π", | |
) | |
st.write("# Welcome to DataAI! π") | |
st.sidebar.success("Select a demo above.") | |
st.markdown( | |
""" | |
This is the demo for the usecases we've worked on. | |
**π Select a demo from the sidebar** to see some examples | |
of what we can do!!! """ | |
) | |
import base64 | |
main_bg_ext = "jpg" | |
main_bg = "vally.jpg" | |
st.markdown( | |
f""" | |
<style> | |
.stApp {{ | |
background: url(data:image/{main_bg_ext};base64,{base64.b64encode(open(main_bg, "rb").read()).decode()}); | |
background-size: cover | |
}} | |
</style> | |
""", | |
unsafe_allow_html=True | |
) |