Spaces:
Sleeping
Sleeping
Sagar S
commited on
added missing type hint
Browse files
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:
|