ChIrish06 commited on
Commit
751d16f
·
verified ·
1 Parent(s): 58e6ca4

Update app.py

Browse files

Adding an import statement to the tool for visiting websites (import re - it was causing errors as initially written).

Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -155,6 +155,7 @@ def tool_visit_webpage(url:str) -> str:
155
  Args:
156
  url: A string url, the site to be visited
157
  '''
 
158
  vst = VisitWebpageTool()
159
  ret = vst(url)
160
  return ret
 
155
  Args:
156
  url: A string url, the site to be visited
157
  '''
158
+ import re
159
  vst = VisitWebpageTool()
160
  ret = vst(url)
161
  return ret