jcleee commited on
Commit
2152698
·
verified ·
1 Parent(s): 820093f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -37,7 +37,9 @@ def get_current_time_in_timezone(timezone: str) -> str:
37
 
38
  @tool
39
  def visit_webpage(url: str) -> str:
40
- """Fetches raw HTML content of a web page."""
 
 
41
  try:
42
  response = requests.get(url, timeout=5)
43
  return response.text[:5000] # limit output length
 
37
 
38
  @tool
39
  def visit_webpage(url: str) -> str:
40
+ """Fetches raw HTML content of a web page.
41
+ Args:
42
+ url: The url of the webpage"""
43
  try:
44
  response = requests.get(url, timeout=5)
45
  return response.text[:5000] # limit output length