Omkar008 commited on
Commit
dac4d7c
·
verified ·
1 Parent(s): d72a34e

Update extract_and_store_supabase.py

Browse files
Files changed (1) hide show
  1. extract_and_store_supabase.py +1 -1
extract_and_store_supabase.py CHANGED
@@ -36,7 +36,7 @@ async def extract_structure_store_message(filename:str,filename_path:str,user_id
36
  supabase = Supabase_Client().instance
37
  try:
38
  response = supabase.storage.from_(f"all_card_assets").download(
39
- filename
40
  )
41
  base64_data = urlsafe_b64encode(response).decode('utf-8')
42
  if attachment_extension == 'pdf':
 
36
  supabase = Supabase_Client().instance
37
  try:
38
  response = supabase.storage.from_(f"all_card_assets").download(
39
+ filename_path
40
  )
41
  base64_data = urlsafe_b64encode(response).decode('utf-8')
42
  if attachment_extension == 'pdf':