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("<h1 style='text-align: center; color: black;'>This is the demo for the usecases we've worked on.</h1>", unsafe_allow_html=True) | |
st.markdown("<h2 style='text-align: center; color: black;'>Select a demo from the sidebar** to see some examples | |
of what we can do!!! </h2>", unsafe_allow_html=True) | |
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 | |
) |