ashok2216 commited on
Commit
72f281a
·
verified ·
1 Parent(s): 56502a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -297,7 +297,7 @@ Provide a clear and concise answer focusing on the specific information requeste
297
  return response
298
 
299
  @st.cache_data(ttl=60) # Cache for 1 minute
300
- def get_traffic_gdf(lat_min, lat_max, lon_min, lon_max, local_time_zone, loc, flight_info):
301
  # Get cached flight data
302
  json_dict = fetch_flight_data(lat_min, lat_max, lon_min, lon_max)
303
 
@@ -324,7 +324,7 @@ def get_traffic_gdf(lat_min, lat_max, lon_min, lon_max, local_time_zone, loc, fl
324
  # Display information
325
  st.title("Live Flight Tracker")
326
  st.subheader('Flight Details', divider='rainbow')
327
- st.write('Location: {0}'.format(loc))
328
  st.write('Current Local Time: {0}-{1}:'.format(local_time, local_time_zone))
329
  st.write("Minimum_latitude is {0} and Maximum_latitude is {1}".format(lat_min, lat_max))
330
  st.write("Minimum_longitude is {0} and Maximum_longitude is {1}".format(lon_min, lon_max))
 
297
  return response
298
 
299
  @st.cache_data(ttl=60) # Cache for 1 minute
300
+ def get_traffic_gdf(lat_min, lat_max, lon_min, lon_max, local_time_zone, _loc, flight_info):
301
  # Get cached flight data
302
  json_dict = fetch_flight_data(lat_min, lat_max, lon_min, lon_max)
303
 
 
324
  # Display information
325
  st.title("Live Flight Tracker")
326
  st.subheader('Flight Details', divider='rainbow')
327
+ st.write('Location: {0}'.format(_loc))
328
  st.write('Current Local Time: {0}-{1}:'.format(local_time, local_time_zone))
329
  st.write("Minimum_latitude is {0} and Maximum_latitude is {1}".format(lat_min, lat_max))
330
  st.write("Minimum_longitude is {0} and Maximum_longitude is {1}".format(lon_min, lon_max))