rairo commited on
Commit
8c3285c
·
verified ·
1 Parent(s): c565ca9

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -850,7 +850,7 @@ def speak_notes(notes_id):
850
 
851
  # --- Save Audio to Supabase Storage ---
852
  # Naming convention: users/{user_id}/notes_audio/{notes_id}.mp3
853
- bucket_name = 'notes_audio' # Ensure this bucket exists in Supabase Storage
854
  destination_path = f'users/{user.id}/{notes_id}.mp3'
855
  content_type = 'audio/mpeg'
856
 
 
850
 
851
  # --- Save Audio to Supabase Storage ---
852
  # Naming convention: users/{user_id}/notes_audio/{notes_id}.mp3
853
+ bucket_name = 'notes-audio' # Ensure this bucket exists in Supabase Storage
854
  destination_path = f'users/{user.id}/{notes_id}.mp3'
855
  content_type = 'audio/mpeg'
856