harryab commited on
Commit
3a5cef6
·
verified ·
1 Parent(s): e758f44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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.