Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -119,10 +119,6 @@ def pdok_location_info(postal_code: Optional[str] = None, house_number: Optional
|
|
| 119 |
except (ValueError, KeyError) as e:
|
| 120 |
return f"Error processing API response: {e}"
|
| 121 |
|
| 122 |
-
# Corrected call: Use the correct function name (pdok_location_info)
|
| 123 |
-
location_info = pdok_location_info(street_name="Emmastraat", house_number="13", city="Den Haag")
|
| 124 |
-
return (location_info)
|
| 125 |
-
|
| 126 |
@tool
|
| 127 |
def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return type
|
| 128 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
|
|
|
| 119 |
except (ValueError, KeyError) as e:
|
| 120 |
return f"Error processing API response: {e}"
|
| 121 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
@tool
|
| 123 |
def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return type
|
| 124 |
#Keep this format for the description / args / args description but feel free to modify the tool
|