Sstefanidis commited on
Commit
53e71f7
·
verified ·
1 Parent(s): c95105d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -12,6 +12,7 @@ from smolagents import tool
12
  from Gradio_UI import GradioUI
13
 
14
 
 
15
  def visit_webpage(url: str) -> str:
16
  """Visits a webpage at the given URL and returns its content as a markdown string.
17
 
 
12
  from Gradio_UI import GradioUI
13
 
14
 
15
+ @tool
16
  def visit_webpage(url: str) -> str:
17
  """Visits a webpage at the given URL and returns its content as a markdown string.
18