Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
|