Futuresony commited on
Commit
3494099
·
verified ·
1 Parent(s): c64f8fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -5
app.py CHANGED
@@ -21,11 +21,16 @@ except ImportError:
21
 
22
  # Define environment variables for PostgreSQL connection
23
  # These should be set in the environment where you run this script
24
- DB_HOST = os.getenv("DB_HOST")
25
- DB_NAME = os.getenv("DB_NAME")
26
- DB_USER = os.getenv("DB_USER")
27
- DB_PASSWORD = os.getenv("DB_PASSWORD")
28
- DB_PORT = os.getenv("DB_PORT", "5432") # Default PostgreSQL port
 
 
 
 
 
29
 
30
  # Define environment variables for Google Sheets authentication
31
  GOOGLE_BASE64_CREDENTIALS = os.getenv("GOOGLE_BASE64_CREDENTIALS")
 
21
 
22
  # Define environment variables for PostgreSQL connection
23
  # These should be set in the environment where you run this script
24
+ #DB_HOST = os.getenv("DB_HOST")
25
+ DB_NAME = "postgres"
26
+ #DB_NAME = os.getenv("DB_NAME")
27
+ DB_HOST = "https://wziqfkzaqorzthpoxhjh.supabase.co"
28
+ #DB_USER = os.getenv("DB_USER")
29
+ DB_USER = "postgres"
30
+ #DB_PASSWORD = os.getenv("DB_PASSWORD")
31
+ DB_PASSWORD = "Me21322972.........."
32
+ #DB_PORT = os.getenv("DB_PORT", "5432") # Default PostgreSQL port
33
+ DB_PORT = "5432"
34
 
35
  # Define environment variables for Google Sheets authentication
36
  GOOGLE_BASE64_CREDENTIALS = os.getenv("GOOGLE_BASE64_CREDENTIALS")