Spaces:
No application file
No application file
Update app.py
Browse files
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 =
|
26 |
-
|
27 |
-
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
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")
|