Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,8 +3,11 @@ import datetime
|
|
| 3 |
import pytz
|
| 4 |
import yaml
|
| 5 |
from tools.final_answer import FinalAnswerTool
|
|
|
|
|
|
|
| 6 |
from Gradio_UI import GradioUI
|
| 7 |
|
|
|
|
| 8 |
@tool
|
| 9 |
def fetch_marathon_plan(goal_time: str) -> str:
|
| 10 |
"""Fetches a marathon training plan based on a goal time.
|
|
|
|
| 3 |
import pytz
|
| 4 |
import yaml
|
| 5 |
from tools.final_answer import FinalAnswerTool
|
| 6 |
+
from bs4 import BeautifulSoup # for web scraping
|
| 7 |
+
|
| 8 |
from Gradio_UI import GradioUI
|
| 9 |
|
| 10 |
+
|
| 11 |
@tool
|
| 12 |
def fetch_marathon_plan(goal_time: str) -> str:
|
| 13 |
"""Fetches a marathon training plan based on a goal time.
|