Spaces:
Running
Running
fschwartzer
commited on
Commit
•
df022b3
1
Parent(s):
a268f6c
Update app.py
Browse files
app.py
CHANGED
@@ -3,17 +3,26 @@ import pandas as pd
|
|
3 |
|
4 |
df = pd.read_csv('last_results.csv')
|
5 |
|
|
|
|
|
6 |
title_html = """
|
7 |
-
|
8 |
-
@font-face {
|
9 |
-
|
|
|
10 |
}
|
11 |
-
body {
|
12 |
font-family: 'Quicksand', sans-serif;
|
13 |
-
}
|
|
|
|
|
|
|
|
|
|
|
14 |
</style>
|
15 |
-
<span
|
16 |
-
|
|
|
17 |
# Set a fixed width for the sidebar
|
18 |
st.markdown(
|
19 |
"""
|
@@ -27,6 +36,7 @@ st.markdown(
|
|
27 |
)
|
28 |
|
29 |
with st.sidebar:
|
|
|
30 |
st.markdown(title_html, unsafe_allow_html=True)
|
31 |
selected_instituicao = st.selectbox('Select Instituição', df['Instituição'].unique())
|
32 |
selected_conta = st.selectbox('Select Conta', df['Conta'].unique())
|
|
|
3 |
|
4 |
df = pd.read_csv('last_results.csv')
|
5 |
|
6 |
+
image1 = 'rs_pmpa.png'
|
7 |
+
|
8 |
title_html = """
|
9 |
+
<style>
|
10 |
+
@font-face {
|
11 |
+
font-family: 'Quicksand';
|
12 |
+
src: url('font/Quicksand-VariableFont_wght.ttf') format('truetype');
|
13 |
}
|
14 |
+
body {
|
15 |
font-family: 'Quicksand', sans-serif;
|
16 |
+
}
|
17 |
+
.custom-title {
|
18 |
+
color: darkgreen;
|
19 |
+
font-size: 30px;
|
20 |
+
font-weight: bold;
|
21 |
+
}
|
22 |
</style>
|
23 |
+
<span class='custom-title'>PREVISÕES DE RECEITAS</span>
|
24 |
+
"""
|
25 |
+
|
26 |
# Set a fixed width for the sidebar
|
27 |
st.markdown(
|
28 |
"""
|
|
|
36 |
)
|
37 |
|
38 |
with st.sidebar:
|
39 |
+
st.image(image1, caption='Image 1', use_column_width=True)
|
40 |
st.markdown(title_html, unsafe_allow_html=True)
|
41 |
selected_instituicao = st.selectbox('Select Instituição', df['Instituição'].unique())
|
42 |
selected_conta = st.selectbox('Select Conta', df['Conta'].unique())
|