gosign commited on
Commit
378c2e9
·
verified ·
1 Parent(s): 24b0376

Update analyzePdf.py

Browse files
Files changed (1) hide show
  1. 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_("your_bucket_name").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}")
 
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}")