ChIrish06 commited on
Commit
154ba0d
·
verified ·
1 Parent(s): 1eaed3f

Update app.py

Browse files

Updating doc string to see if it adjusts behavior

Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -104,7 +104,8 @@ def get_current_time_in_timezone(timezone: str) -> str:
104
  def summarize_and_answer_from_web(url: str, question:str) -> tuple:
105
  '''
106
  A tool which takes a pair of inputs, a website and a question, and finds all relevant information
107
- about that question from the website, and return both the summary and the answer
 
108
  Args:
109
  url: a string which says which website to get information from
110
  question: a string of text asking for information from that website
 
104
  def summarize_and_answer_from_web(url: str, question:str) -> tuple:
105
  '''
106
  A tool which takes a pair of inputs, a website and a question, and finds all relevant information
107
+ about that question from the website, and return both the summary and the answer.
108
+ To avoid errors, only the answer - the second element of the tuple - should be printed
109
  Args:
110
  url: a string which says which website to get information from
111
  question: a string of text asking for information from that website