Arcpolar commited on
Commit
2ae5c92
·
verified ·
1 Parent(s): ac4abb3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -7,10 +7,9 @@ from tools.final_answer import FinalAnswerTool
7
 
8
  from Gradio_UI import GradioUI
9
 
10
- # Below is an example of a tool that does nothing. Amaze us with your creativity !
11
  @tool
12
  def fact_checker(claim:str)-> str: #it's import to specify the return type
13
- #Keep this format for the description / args / args description but feel free to modify the tool
14
  """A tool that checks the validity of a claim by analyzing search results
15
  Args:
16
  claim: A statement or claim to fact-check
@@ -49,7 +48,7 @@ def fact_checker(claim:str)-> str: #it's import to specify the return type
49
 
50
 
51
  import re
52
-
53
  @tool
54
  def stock_price(symbol: str) -> str:
55
  """A tool that retrieves the current stock price for a given stock symbol.
 
7
 
8
  from Gradio_UI import GradioUI
9
 
10
+ # Fact check tool
11
  @tool
12
  def fact_checker(claim:str)-> str: #it's import to specify the return type
 
13
  """A tool that checks the validity of a claim by analyzing search results
14
  Args:
15
  claim: A statement or claim to fact-check
 
48
 
49
 
50
  import re
51
+ # Stock price tool
52
  @tool
53
  def stock_price(symbol: str) -> str:
54
  """A tool that retrieves the current stock price for a given stock symbol.