Spaces:
Runtime error
Runtime error
Hugo Bui
commited on
fix
Browse files
tools/country_info_tool.py
CHANGED
@@ -98,7 +98,7 @@ class CountryInfoTool(Tool):
|
|
98 |
'Egypt': 'EG', 'Thailand': 'TH', 'Iran': 'IR'
|
99 |
}
|
100 |
|
101 |
-
def forward(self, country: str, info_type:
|
102 |
try:
|
103 |
# Normaliser le nom du pays
|
104 |
country_normalized = self._normalize_country_name(country)
|
|
|
98 |
'Egypt': 'EG', 'Thailand': 'TH', 'Iran': 'IR'
|
99 |
}
|
100 |
|
101 |
+
def forward(self, country: str, info_type: str = "all") -> str:
|
102 |
try:
|
103 |
# Normaliser le nom du pays
|
104 |
country_normalized = self._normalize_country_name(country)
|