File size: 658 Bytes
ac49a80
 
 
 
bb9efa9
ac49a80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b9688e1
ac49a80
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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 = "vally2.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
)