secretofsteel commited on
Commit
2fbaad1
·
verified ·
1 Parent(s): fcda1ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -12,10 +12,9 @@ from Gradio_UI import GradioUI
12
  @tool
13
  def my_custom_tool(arg1:str)-> float: #it's import to specify the return type
14
  #Keep this format for the description / args / args description but feel free to modify the tool
15
- """A tool that does nothing yet
16
  Args:
17
- arg1: the first argument
18
- arg2: the second argument
19
  """
20
  ticker = arg1
21
  stock = yf.Ticker(ticker)
 
12
  @tool
13
  def my_custom_tool(arg1:str)-> float: #it's import to specify the return type
14
  #Keep this format for the description / args / args description but feel free to modify the tool
15
+ """A tool that looks up stock prices
16
  Args:
17
+ arg1: a string that corresponds to a stock market ticker (eg. TSLA for Tesla, AAPL, for Apple, MSFT for Microsoft, etc)
 
18
  """
19
  ticker = arg1
20
  stock = yf.Ticker(ticker)