Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def get_weather_forecast(city_name: str) -> str:
61
  averageTemp = round(mean(cityTemp), 1)
62
  hourlyunits = weatherJSON.get('hourly_units').get('temperature_2m')
63
  return weather_data
64
- return f"The current Temperature in {cityName} is {averageTemp}{hourlyunits} and conditions are {cityCondition}"
65
  except requests.exceptions.RequestException as e:
66
  print(f"Error fetching weather data: {e}")
67
  return None
 
61
  averageTemp = round(mean(cityTemp), 1)
62
  hourlyunits = weatherJSON.get('hourly_units').get('temperature_2m')
63
  return weather_data
64
+ return f"The current Temperature in {cityName} is {averageTemp}{hourlyunits}!"
65
  except requests.exceptions.RequestException as e:
66
  print(f"Error fetching weather data: {e}")
67
  return None