Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ from Gradio_UI import GradioUI
|
|
| 15 |
|
| 16 |
# ✅ Tool wrapper function for SmolAgent
|
| 17 |
@tool
|
| 18 |
-
def scrape_drug_reviews_tool(drug_name: str, max_pages: int = 3):
|
| 19 |
"""
|
| 20 |
Scrapes reviews from the website Drugs.com using Playwright for a given drug name.
|
| 21 |
Args:
|
|
|
|
| 15 |
|
| 16 |
# ✅ Tool wrapper function for SmolAgent
|
| 17 |
@tool
|
| 18 |
+
def scrape_drug_reviews_tool(drug_name: str, max_pages: int = 3) -> dict :
|
| 19 |
"""
|
| 20 |
Scrapes reviews from the website Drugs.com using Playwright for a given drug name.
|
| 21 |
Args:
|