Spaces:
Sleeping
Sleeping
Update extract_and_store_supabase.py
Browse files
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 |
-
|
| 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':
|