Spaces:
Running
Running
Update analyzePdf.py
Browse files- analyzePdf.py +1 -1
analyzePdf.py
CHANGED
@@ -29,7 +29,7 @@ def log_debug(message, **kwargs):
|
|
29 |
def download_file_from_supabase(file_path):
|
30 |
"""Download file from Supabase storage."""
|
31 |
log_debug("Downloading file from Supabase", file_path=file_path)
|
32 |
-
response = supabase_client.storage.from_("
|
33 |
log_debug("Supabase download response", status_code=response.status_code, text=response.text)
|
34 |
if response.status_code != 200:
|
35 |
raise Exception(f"Failed to download file from Supabase: {response.text}")
|
|
|
29 |
def download_file_from_supabase(file_path):
|
30 |
"""Download file from Supabase storage."""
|
31 |
log_debug("Downloading file from Supabase", file_path=file_path)
|
32 |
+
response = supabase_client.storage.from_("files").download(file_path)
|
33 |
log_debug("Supabase download response", status_code=response.status_code, text=response.text)
|
34 |
if response.status_code != 200:
|
35 |
raise Exception(f"Failed to download file from Supabase: {response.text}")
|