Soumik555 commited on
Commit
ca816b9
·
1 Parent(s): f79ab83

use supabase

Browse files
Files changed (1) hide show
  1. supabase_service.py +4 -0
supabase_service.py CHANGED
@@ -1,5 +1,9 @@
1
  import os
2
  from supabase import create_client, Client
 
 
 
 
3
 
4
  # Replace with your Supabase URL and API key
5
  SUPABASE_URL: str = os.getenv("SUPABASE_URL")
 
1
  import os
2
  from supabase import create_client, Client
3
+ from dotenv import load_dotenv
4
+
5
+ # Load environment variables from .env file
6
+ load_dotenv()
7
 
8
  # Replace with your Supabase URL and API key
9
  SUPABASE_URL: str = os.getenv("SUPABASE_URL")