Spaces:
Sleeping
Sleeping
Fix the code
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def sunrise_sunset_tool(lat:str, lng:str)-> str: #it's import to specify the ret
|
|
| 17 |
lat: A string representing location latitude
|
| 18 |
long: A string representing location longitude
|
| 19 |
"""
|
| 20 |
-
|
| 21 |
sunrise = "7:27:02 AM"
|
| 22 |
sunset = "5:05:55 PM"
|
| 23 |
return f"The sunrise time is {sunrise} and sunset time is {sunset}"
|
|
|
|
| 17 |
lat: A string representing location latitude
|
| 18 |
long: A string representing location longitude
|
| 19 |
"""
|
| 20 |
+
try:
|
| 21 |
sunrise = "7:27:02 AM"
|
| 22 |
sunset = "5:05:55 PM"
|
| 23 |
return f"The sunrise time is {sunrise} and sunset time is {sunset}"
|