Spaces:
Sleeping
Sleeping
Fixing imports
Browse files
app.py
CHANGED
|
@@ -4,14 +4,15 @@ import requests
|
|
| 4 |
import pytz
|
| 5 |
import yaml
|
| 6 |
from tools.final_answer import FinalAnswerTool
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
from Gradio_UI import GradioUI
|
| 9 |
|
| 10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 11 |
@tool
|
| 12 |
-
|
| 13 |
-
import math
|
| 14 |
-
from typing import Dict
|
| 15 |
|
| 16 |
def estimate_sun_times(date: datetime, lat: float, lon: float) -> Dict[str, str]:
|
| 17 |
"""
|
|
|
|
| 4 |
import pytz
|
| 5 |
import yaml
|
| 6 |
from tools.final_answer import FinalAnswerTool
|
| 7 |
+
from datetime import timedelta
|
| 8 |
+
import math
|
| 9 |
+
from typing import Dict
|
| 10 |
|
| 11 |
from Gradio_UI import GradioUI
|
| 12 |
|
| 13 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 14 |
@tool
|
| 15 |
+
|
|
|
|
|
|
|
| 16 |
|
| 17 |
def estimate_sun_times(date: datetime, lat: float, lon: float) -> Dict[str, str]:
|
| 18 |
"""
|