Spaces:
Sleeping
Sleeping
Update tools/visit_webpage.py
Browse files- tools/visit_webpage.py +1 -1
tools/visit_webpage.py
CHANGED
@@ -3,7 +3,7 @@ from smolagents.tools import Tool
|
|
3 |
import requests
|
4 |
import markdownify
|
5 |
import smolagents
|
6 |
-
|
7 |
class VisitWebpageTool(Tool):
|
8 |
name = "visit_webpage"
|
9 |
description = "Visits a webpage at the given url and reads its content as a markdown string. Use this to browse webpages."
|
|
|
3 |
import requests
|
4 |
import markdownify
|
5 |
import smolagents
|
6 |
+
import re
|
7 |
class VisitWebpageTool(Tool):
|
8 |
name = "visit_webpage"
|
9 |
description = "Visits a webpage at the given url and reads its content as a markdown string. Use this to browse webpages."
|