Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -30,9 +30,9 @@ def get_g5_data() -> dict:
|
|
30 |
|
31 |
@tool
|
32 |
def save_figure()-> None:
|
33 |
-
"""Save the chart in a image.png file
|
34 |
Returns the image displayed"""
|
35 |
-
image_path = '
|
36 |
return Image.open(image_path)
|
37 |
|
38 |
final_answer = FinalAnswerTool()
|
|
|
30 |
|
31 |
@tool
|
32 |
def save_figure()-> None:
|
33 |
+
"""Save the plot chart in a image.png file.
|
34 |
Returns the image displayed"""
|
35 |
+
image_path = './image.png'
|
36 |
return Image.open(image_path)
|
37 |
|
38 |
final_answer = FinalAnswerTool()
|