Spaces:
Sleeping
Sleeping
added type hints describe_image(path: str) -> str:
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ python_code_executor=PythonInterpreterTool()
|
|
| 20 |
|
| 21 |
|
| 22 |
@tool
|
| 23 |
-
def describe_image(path):
|
| 24 |
"""Describes the image. requires image path. return image description.
|
| 25 |
Args: path of image
|
| 26 |
"""
|
|
|
|
| 20 |
|
| 21 |
|
| 22 |
@tool
|
| 23 |
+
def describe_image(path: str) -> str:
|
| 24 |
"""Describes the image. requires image path. return image description.
|
| 25 |
Args: path of image
|
| 26 |
"""
|