eocone commited on
Commit
7b4d620
·
verified ·
1 Parent(s): 403af8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -7
app.py CHANGED
@@ -11,15 +11,13 @@ from Gradio_UI import GradioUI
11
 
12
  @tool
13
  def dog_average_longevity(breed: str) -> str:
14
- """
15
- A tool that uses DuckDuckGo to search the web and returns the average lifespan for a given dog breed.
16
-
17
- Parameters:
18
  breed (str): The breed of the dog (e.g., "Labrador").
19
-
20
- Returns:
21
  str: The average lifespan of the specified dog breed in years.
22
- """
 
23
  query = f"average lifespan for {breed} dog in years"
24
 
25
  with DDGS() as ddgs:
 
11
 
12
  @tool
13
  def dog_average_longevity(breed: str) -> str:
14
+ """A tool that uses DuckDuckGo to search the web and returns the average lifespan for a given dog breed.
15
+ Parameters:
 
 
16
  breed (str): The breed of the dog (e.g., "Labrador").
17
+ Returns:
 
18
  str: The average lifespan of the specified dog breed in years.
19
+ """
20
+
21
  query = f"average lifespan for {breed} dog in years"
22
 
23
  with DDGS() as ddgs: