Spaces:
Sleeping
Sleeping
fixed db
Browse files- project/config.py +7 -5
project/config.py
CHANGED
@@ -15,11 +15,13 @@ class BaseConfig:
|
|
15 |
REPORT_PROMPT = """Summarize the key points from the user's messages, organizing the summary into a structured
|
16 |
format. Conclude with a brief report in the language that the user speaks that encapsulates the essence of the
|
17 |
discussion."""
|
18 |
-
DATABASE_URL =
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
|
|
|
|
23 |
IMAGE_PROMPT = """Summarize architectural style, layout, and unique features of property images briefly.
|
24 |
Highlight key elements like natural light, outdoor spaces, and distinctive design details. Mention root uses,
|
25 |
major fixtures, and special amenities concisely. Assess curb appeal, condition, and notable upgrades briefly,
|
|
|
15 |
REPORT_PROMPT = """Summarize the key points from the user's messages, organizing the summary into a structured
|
16 |
format. Conclude with a brief report in the language that the user speaks that encapsulates the essence of the
|
17 |
discussion."""
|
18 |
+
DATABASE_URL = (
|
19 |
+
f"postgresql+psycopg://{os.getenv('DATABASE_USER')}:"
|
20 |
+
f"{os.getenv('DATABASE_PASSWORD')}@"
|
21 |
+
f"{os.getenv('DATABASE_HOST')}:"
|
22 |
+
f"{os.getenv('DATABASE_PORT')}/"
|
23 |
+
f"{os.getenv('DATABASE_NAME')}"
|
24 |
+
)
|
25 |
IMAGE_PROMPT = """Summarize architectural style, layout, and unique features of property images briefly.
|
26 |
Highlight key elements like natural light, outdoor spaces, and distinctive design details. Mention root uses,
|
27 |
major fixtures, and special amenities concisely. Assess curb appeal, condition, and notable upgrades briefly,
|