Spaces:
Runtime error
Runtime error
File size: 2,614 Bytes
b607f03 0f51e13 4188f10 43d1cef 0f51e13 3313e8f 0f51e13 b607f03 90579f0 0f51e13 90579f0 0f51e13 b607f03 0f51e13 |
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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
import streamlit as st
import streamlit as st
# with open('style.css') as f:
# st.markdown(f'<style>{f.read()}</style>', unsafe_allow_html=True)
import base64
import streamlit as st
import plotly.express as px
df = px.data.iris()
@st.cache_data
def get_img_as_base64(file):
with open(file, "rb") as f:
data = f.read()
return base64.b64encode(data).decode()
page_bg_img = f"""
<style>
[data-testid="stAppViewContainer"] > .main {{
background-image: url("https://catherineasquithgallery.com/uploads/posts/2021-02/1614374202_41-p-fon-tekhnologii-svetlii-53.jpg");
background-size: 120%;
background-position: top left;
background-repeat: no-repeat;
background-attachment: local;
}}
# [data-testid="stSidebar"] > div:first-child {{
# background-image: url("https://catherineasquithgallery.com/uploads/posts/2021-03/1614791989_157-p-fon-dlya-delovoi-prezentatsii-166.jpg");
# background-position: center;
# background-repeat: no-repeat;
# background-attachment: fixed;
# }}
[data-testid="stHeader"] {{
background: rgba(1,1,1,1);
}}
[data-testid="stToolbar"] {{
right: 2rem;
}}
div.css-1n76uvr.esravye0 {{
background-color: rgba(238, 238, 238, 0.5);
border: 10px solid #EEEEEE;
padding: 5% 5% 5% 10%;
border-radius: 5px;
}}
</style>
"""
st.markdown(page_bg_img, unsafe_allow_html=True)
col1, col2, col3 = st.columns([1,8,1])
#col1, col2 = st.columns(2)
.stTitle {
color: blue;
}
### Гистограмма total_bill
with col2:
# Веб-приложение с использованием Streamlit
st.title('NLP project by team "BERT"', className='stTitle')
col1, col2, col3 = st.columns([2,5,2])
#col1, col2 = st.columns(2)
### Гистограмма total_bill
with col2:
# Веб-приложение с использованием Streamlit
st.markdown("<div style='text-align: center; font-size: 30px;'>Team members:", unsafe_allow_html=True)
st.markdown("<div style='text-align: center; font-size: 25px;'>1. Vasily S.", unsafe_allow_html=True)
st.markdown("<div style='text-align: center; font-size: 25px;'>2. Anna F.", unsafe_allow_html=True)
st.markdown("<div style='text-align: center; font-size: 25px;'>3. Viktoria K.", unsafe_allow_html=True)
st.markdown("<div style='text-align: center; font-size: 25px;'>4. Ivan N.", unsafe_allow_html=True)
st.markdown("<div style='text-align: center; font-size: 25px;'>5. Ilvir Kh.", unsafe_allow_html=True)
st.markdown("<div style='text-align: center; font-size: 25px;'> ", unsafe_allow_html=True)
st.markdown("<div style='text-align: center; font-size: 25px;'> ", unsafe_allow_html=True)
|