ernani commited on
Commit
579efec
·
1 Parent(s): 146e092

Fixing custom_language

Browse files
Files changed (1) hide show
  1. tools.py +0 -4
tools.py CHANGED
@@ -216,7 +216,6 @@ def generate_fitness_plan(
216
  workout_days: List[str],
217
  activity_level: str,
218
  output_language: str,
219
- custom_language: str,
220
  health_conditions: str,
221
  dietary_preferences: str
222
  ) -> Dict:
@@ -226,9 +225,6 @@ def generate_fitness_plan(
226
  bmi = calculate_bmi(weight, height)
227
  bmi_category = get_bmi_category(bmi)
228
 
229
- if output_language == "Other":
230
- output_language = custom_language
231
-
232
  # Create a profile summary
233
  profile_summary = f"""
234
  User Profile:
 
216
  workout_days: List[str],
217
  activity_level: str,
218
  output_language: str,
 
219
  health_conditions: str,
220
  dietary_preferences: str
221
  ) -> Dict:
 
225
  bmi = calculate_bmi(weight, height)
226
  bmi_category = get_bmi_category(bmi)
227
 
 
 
 
228
  # Create a profile summary
229
  profile_summary = f"""
230
  User Profile: