Spaces:
Sleeping
Sleeping
Update app.py
Browse filesfixing another bug in line 25
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 22 |
def get_ip_details(ip_address:str) -> str:
|
| 23 |
"""A tool that fetches information about provided ip address.
|
| 24 |
Args:
|
| 25 |
-
|
| 26 |
"""
|
| 27 |
# Формируем URL для запроса
|
| 28 |
url = f"https://ipinfo.io/{ip_address}/json"
|
|
|
|
| 22 |
def get_ip_details(ip_address:str) -> str:
|
| 23 |
"""A tool that fetches information about provided ip address.
|
| 24 |
Args:
|
| 25 |
+
ip_address: A string representing an ip address for study (e.g., '8.8.8.8').
|
| 26 |
"""
|
| 27 |
# Формируем URL для запроса
|
| 28 |
url = f"https://ipinfo.io/{ip_address}/json"
|