parjun commited on
Commit
9cb0fcd
·
verified ·
1 Parent(s): 14c8f4e

Update tools/visit_webpage.py

Browse files
Files changed (1) hide show
  1. 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."