VectorV17 commited on
Commit
6a349ed
·
verified ·
1 Parent(s): 9f59c2f

Update database.py

Browse files
Files changed (1) hide show
  1. database.py +3 -3
database.py CHANGED
@@ -59,9 +59,9 @@ def get_relational_stats():
59
  class GraphDBManager:
60
  def __init__(self):
61
  # Hugging Face Secrets mapping
62
- self.uri = os.environ.get("NEO4J_URI", "bolt://localhost:7687")
63
- self.user = os.environ.get("NEO4J_USER", "neo4j")
64
- self.password = os.environ.get("NEO4J_PASSWORD", "password")
65
  self.driver = None
66
 
67
  def get_driver(self):
 
59
  class GraphDBManager:
60
  def __init__(self):
61
  # Hugging Face Secrets mapping
62
+ self.uri = os.environ.get("CONGODB_URI", "bolt://localhost:7687")
63
+ self.user = os.environ.get("CONGODB_USER", "neo4j")
64
+ self.password = os.environ.get("CONGODB_PASSWORD", "password")
65
  self.driver = None
66
 
67
  def get_driver(self):