mehdirt commited on
Commit
00fe1a0
·
verified ·
1 Parent(s): b8f3e89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -119,9 +119,9 @@ def injury_prevention_advisor(body_part: str, sport: str = None) -> str:
119
  tips = injuries[body_part].get("prevention", [])
120
  recovery = injuries[body_part].get("recovery", "")
121
  if sport:
122
- return f"For {sport}: {', '.join(tips)}, Recovery advice: {recovery}"
123
 
124
- return f"Prevention tips: {', '.join(tips)}, Recovery advice: {recovery}"
125
 
126
  return "No tips available for this area"
127
 
 
119
  tips = injuries[body_part].get("prevention", [])
120
  recovery = injuries[body_part].get("recovery", "")
121
  if sport:
122
+ return f"For {sport}: {', '.join(tips)}, \nRecovery advice: {recovery}"
123
 
124
+ return f"Prevention tips: {', '.join(tips)}, \nRecovery advice: {recovery}"
125
 
126
  return "No tips available for this area"
127