xomatic commited on
Commit
ff9c8a0
·
verified ·
1 Parent(s): 3a195e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -123,7 +123,14 @@ def weather_icon(code):
123
 
124
  @tool
125
  def plot_weather(weather_data: list) -> str:
126
- """Generate stylized weather visualization with icons + uncertainty bands."""
 
 
 
 
 
 
 
127
 
128
  times = [entry["time"][11:16] for entry in weather_data]
129
  temps = [entry["temperature"] for entry in weather_data]
 
123
 
124
  @tool
125
  def plot_weather(weather_data: list) -> str:
126
+ """Generate stylized weather visualization with icons and uncertainty bands.
127
+
128
+ Args:
129
+ weather_data: A list of dictionaries containing hourly weather data.
130
+
131
+ Returns:
132
+ A string file path to the generated image.
133
+ """
134
 
135
  times = [entry["time"][11:16] for entry in weather_data]
136
  temps = [entry["temperature"] for entry in weather_data]