Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import requests
|
|
3 |
import os
|
4 |
import json
|
5 |
import pandas as pd
|
6 |
-
import folium
|
7 |
from streamlit_folium import folium_static
|
8 |
|
9 |
# Function to call the Together AI model
|
@@ -69,7 +69,6 @@ if st.button("Generate Prediction"):
|
|
69 |
f"Air Quality Index {air_quality_index}, Precipitation {precipitation} mm, Atmospheric Pressure {atmospheric_pressure} hPa. "
|
70 |
f"Location: Latitude {latitude}, Longitude {longitude}. "
|
71 |
f"Athlete (Age: {age}, Sport: {sport}), Facility (Type: {facility_type}, Age: {facility_age}, Materials: {materials_used})."
|
72 |
-
f"Lastly visualize the data in the best way possible, might be in a table, using a chart or any other way so that it could be easy to understand"
|
73 |
)
|
74 |
|
75 |
try:
|
|
|
3 |
import os
|
4 |
import json
|
5 |
import pandas as pd
|
6 |
+
import folium
|
7 |
from streamlit_folium import folium_static
|
8 |
|
9 |
# Function to call the Together AI model
|
|
|
69 |
f"Air Quality Index {air_quality_index}, Precipitation {precipitation} mm, Atmospheric Pressure {atmospheric_pressure} hPa. "
|
70 |
f"Location: Latitude {latitude}, Longitude {longitude}. "
|
71 |
f"Athlete (Age: {age}, Sport: {sport}), Facility (Type: {facility_type}, Age: {facility_age}, Materials: {materials_used})."
|
|
|
72 |
)
|
73 |
|
74 |
try:
|