Spaces:
Sleeping
Sleeping
Update app.py
Browse filesUpdating the output format
app.py
CHANGED
|
@@ -29,8 +29,8 @@ def webpage_contents_get(url:str)-> str: #it's import to specify the return type
|
|
| 29 |
url: The URL the contents of which the tool will get
|
| 30 |
"""
|
| 31 |
response = requests.get(url)
|
| 32 |
-
|
| 33 |
-
return
|
| 34 |
|
| 35 |
|
| 36 |
@tool
|
|
|
|
| 29 |
url: The URL the contents of which the tool will get
|
| 30 |
"""
|
| 31 |
response = requests.get(url)
|
| 32 |
+
html_content = response.text
|
| 33 |
+
return webpage_contents_get
|
| 34 |
|
| 35 |
|
| 36 |
@tool
|