harryab commited on
Commit
65a6e69
·
verified ·
1 Parent(s): 1a52d05

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -10,7 +10,14 @@ from Gradio_UI import GradioUI
10
  #Marathon training plan
11
  @tool
12
  def estimate_marathon_time(marathon_time: str) -> str:
13
- """Estimates a full marathon time based on a given marathon time."""
 
 
 
 
 
 
 
14
  try:
15
  hours, minutes = map(int, marathon_time.split(":"))
16
  total_minutes = hours * 60 + minutes
 
10
  #Marathon training plan
11
  @tool
12
  def estimate_marathon_time(marathon_time: str) -> str:
13
+ """Estimates a full marathon time based on a given marathon time.
14
+
15
+ Args:
16
+ marathon_time (str): The marathon time in HH:MM format.
17
+
18
+ Returns:
19
+ str: The estimated marathon time.
20
+ """
21
  try:
22
  hours, minutes = map(int, marathon_time.split(":"))
23
  total_minutes = hours * 60 + minutes