fschwartzer commited on
Commit
df022b3
1 Parent(s): a268f6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -7
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
- <style>
8
- @font-face {font-family: 'Quicksand';
9
- src: url('font/Quicksand-VariableFont_wght.ttf') format('truetype');
 
10
  }
11
- body {{
12
  font-family: 'Quicksand', sans-serif;
13
- }}
 
 
 
 
 
14
  </style>
15
- <span style='color: red; font-size: 30px;'>PREVISÕES DE RECEITAS</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())