Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ import time
|
|
| 16 |
|
| 17 |
|
| 18 |
@tool
|
| 19 |
-
def show_image(image : PIL.
|
| 20 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 21 |
"""A tool that shows image generated by image_generation_tool
|
| 22 |
Args:
|
|
|
|
| 16 |
|
| 17 |
|
| 18 |
@tool
|
| 19 |
+
def show_image(image : PIL.Image.Image ): #it's import to specify the return type
|
| 20 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 21 |
"""A tool that shows image generated by image_generation_tool
|
| 22 |
Args:
|