Sagar S commited on
Commit
5895a92
·
verified ·
1 Parent(s): fb79024

added missing type hint

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ from typing import List, Dict
9
  from Gradio_UI import GradioUI
10
 
11
  @tool
12
- def get_country_data_by_country_name(country_name) -> List[Dict]:
13
  """
14
  Fetches and prints data for a country from the REST Countries API.
15
  Args:
 
9
  from Gradio_UI import GradioUI
10
 
11
  @tool
12
+ def get_country_data_by_country_name(country_name: str) -> List[Dict]:
13
  """
14
  Fetches and prints data for a country from the REST Countries API.
15
  Args: