Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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('
|
| 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)])
|