zavavan commited on
Commit
f29c4cf
·
verified ·
1 Parent(s): 34281b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: