menhguin commited on
Commit
6079f1e
·
verified ·
1 Parent(s): 69a7095

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ async def direct_regenerate(model, user_input, chatbot, character_name, characte
25
  password=os.environ.get("MONGODB")
26
 
27
  def init_database():
28
- uri = f"mongodb+srv://new-user:{password}@cluster0.xb2urf6.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0"
29
  client = MongoClient(uri)
30
  db = client["elo_ratings"]
31
  collection = db["elo_ratings"]
 
25
  password=os.environ.get("MONGODB")
26
 
27
  def init_database():
28
+ uri = f"mongodb+srv://minh1228:{password}@cluster0.xb2urf6.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0"
29
  client = MongoClient(uri)
30
  db = client["elo_ratings"]
31
  collection = db["elo_ratings"]