ChIrish06 commited on
Commit
50b23d7
·
verified ·
1 Parent(s): a887d45

Update app.py

Browse files

Trying updating output of tool (as expected) from str, str to tuple

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -90,7 +90,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
90
  except Exception as e:
91
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
92
  @tool
93
- def summarize_and_answer_from_web(url: str, question:str) -> str, str:
94
  '''
95
  A tool which takes a pair of inputs, a website and a question, and finds all relevant information
96
  about that question from the website, and return both the summary and the answer
 
90
  except Exception as e:
91
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
92
  @tool
93
+ def summarize_and_answer_from_web(url: str, question:str) -> tuple:
94
  '''
95
  A tool which takes a pair of inputs, a website and a question, and finds all relevant information
96
  about that question from the website, and return both the summary and the answer