iajitpanday commited on
Commit
92b751f
·
verified ·
1 Parent(s): 944e094

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -20,12 +20,14 @@ import secrets
20
  ASR_MODEL = "base" # Smaller Whisper model
21
  NLU_MODEL = "facebook/blenderbot-400M-distill" # Smaller conversation model
22
 
 
23
  # Database configuration
24
  DB_CONFIG = {
25
- "host": os.environ.get("DB_HOST", "hopper.proxy.rlwy.net:16751"),
26
- "user": os.environ.get("DB_USER", "root"),
27
- "password": os.environ.get("DB_PASSWORD", "svLvVDyJwyvWsAxTAEkrMPqkzLBkLMrD"),
28
- "database": os.environ.get("DB_NAME", "railway"),
 
29
  "pool_name": "voicebot_pool",
30
  "pool_size": 5
31
  }
 
20
  ASR_MODEL = "base" # Smaller Whisper model
21
  NLU_MODEL = "facebook/blenderbot-400M-distill" # Smaller conversation model
22
 
23
+ # Database configuration
24
  # Database configuration
25
  DB_CONFIG = {
26
+ "host": "hopper.proxy.rlwy.net",
27
+ "port": 16751,
28
+ "user": "root",
29
+ "password": "svLvVDyJwyvWsAxTAEkrMPqkzLBkLMrD",
30
+ "database": "railway",
31
  "pool_name": "voicebot_pool",
32
  "pool_size": 5
33
  }