brestok commited on
Commit
68e4446
·
1 Parent(s): 16b182f
Files changed (1) hide show
  1. 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 = f"postgresql+asyncpg://{env('DATABASE_USER')}:" \
19
- f"{env('DATABASE_PASSWORD')}@" \
20
- f"{env('DATABASE_HOST')}:" \
21
- f"{env('DATABASE_PORT')}/" \
22
- f"{env('DATABASE_NAME')}"
 
 
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,