jflo commited on
Commit
bb5c533
·
verified ·
1 Parent(s): 45cb443

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ def get_suitable_exercises(workout_type: int, mood: int, soreness: int):
76
  supabase = create_client(os.getenv('SUPA_URL'), os.getenv('SUPA_KEY'))
77
 
78
  response = (
79
- supabase.table('exercises')
80
  .select('*')
81
  .eq('workout_type', workout_type)
82
  .contains('suitable_moods', [str(mood)])
 
76
  supabase = create_client(os.getenv('SUPA_URL'), os.getenv('SUPA_KEY'))
77
 
78
  response = (
79
+ supabase.table('exerciseai')
80
  .select('*')
81
  .eq('workout_type', workout_type)
82
  .contains('suitable_moods', [str(mood)])