ChIrish06 commited on
Commit
198a844
·
verified ·
1 Parent(s): 00640e3

Update app.py

Browse files

Updating the output format

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,8 +29,8 @@ def webpage_contents_get(url:str)-> str: #it's import to specify the return type
29
  url: The URL the contents of which the tool will get
30
  """
31
  response = requests.get(url)
32
- # html_content = response.text
33
- return response
34
 
35
 
36
  @tool
 
29
  url: The URL the contents of which the tool will get
30
  """
31
  response = requests.get(url)
32
+ html_content = response.text
33
+ return webpage_contents_get
34
 
35
 
36
  @tool