SaiParsa commited on
Commit
36f30e4
·
verified ·
1 Parent(s): 446bb3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -10,7 +10,11 @@ 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 get_inflation_rate(city: str) -> str:
13
- """A tool that estimates the inflation rate for the given city using web search."""
 
 
 
 
14
  try:
15
  query = f"current inflation rate in {city}"
16
  with DDGS() as ddgs:
 
10
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
11
  @tool
12
  def get_inflation_rate(city: str) -> str:
13
+ """A tool that estimates the inflation rate for the given city
14
+ using web search.
15
+
16
+ Args:
17
+ city: city name"""
18
  try:
19
  query = f"current inflation rate in {city}"
20
  with DDGS() as ddgs: