RamiNuraliyev commited on
Commit
4d96f9a
·
verified ·
1 Parent(s): 9c5addb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -10,10 +10,9 @@ from Gradio_UI import GradioUI
10
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
11
  @tool
12
  def calculate_min_price(prices: list[float])-> str: #it's import to specify the return type
13
- """A tool that calculates the min price of two numerical values
14
  Args:
15
- price1: price of one product
16
- price2: price of second product
17
  """
18
  min_price =min(prices)
19
  return f"The minimum price is {min_price}"
 
10
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
11
  @tool
12
  def calculate_min_price(prices: list[float])-> str: #it's import to specify the return type
13
+ """A tool that calculates the min price from list of product prices
14
  Args:
15
+ prices: list of product prices of
 
16
  """
17
  min_price =min(prices)
18
  return f"The minimum price is {min_price}"