Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,6 +11,10 @@ from Gradio_UI import GradioUI
|
|
| 11 |
|
| 12 |
@tool
|
| 13 |
def GetElectricityCutInfo(cityName: str) -> str:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
city = cityName.lower().strip()
|
| 15 |
|
| 16 |
if city == "istanbul":
|
|
|
|
| 11 |
|
| 12 |
@tool
|
| 13 |
def GetElectricityCutInfo(cityName: str) -> str:
|
| 14 |
+
"""A tool that provides electricity cut information for a given city.
|
| 15 |
+
Args:
|
| 16 |
+
cityName: The name of the city to check for electricity cuts (e.g., 'İstanbul', 'Ankara').
|
| 17 |
+
"""
|
| 18 |
city = cityName.lower().strip()
|
| 19 |
|
| 20 |
if city == "istanbul":
|