Spaces:
Sleeping
Sleeping
fschwartzer
commited on
Commit
•
3dee8f7
1
Parent(s):
44f750f
Update app.py
Browse files
app.py
CHANGED
@@ -23,6 +23,14 @@ print(sys.version_info)
|
|
23 |
|
24 |
image1 = 'images/avalia-removebg-preview.png'
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
# Function to add heatmap layer to folium map
|
27 |
def add_heatmap_layer(map_obj, data, column_name, colormap_name, radius=15):
|
28 |
heat_data = data[['latitude', 'longitude', column_name]].dropna()
|
|
|
23 |
|
24 |
image1 = 'images/avalia-removebg-preview.png'
|
25 |
|
26 |
+
css_file = "style.css"
|
27 |
+
|
28 |
+
# Abrindo e lendo o arquivo CSS
|
29 |
+
with open(css_file, "r") as css:
|
30 |
+
css_style = css.read()
|
31 |
+
|
32 |
+
st.markdown(f'<style>{css_style}</style>', unsafe_allow_html=True)
|
33 |
+
|
34 |
# Function to add heatmap layer to folium map
|
35 |
def add_heatmap_layer(map_obj, data, column_name, colormap_name, radius=15):
|
36 |
heat_data = data[['latitude', 'longitude', column_name]].dropna()
|