Commit 6c144d6e authored by lishen's avatar lishen

[fix] neo4j port

parent 507a36d6
......@@ -13,7 +13,7 @@ class MedicalGraph:
cur_dir = '/'.join(os.path.abspath(__file__).split('/')[:-1])
self.data_path = os.path.join(cur_dir, 'data/medical.json')
self.g = Graph(
'http://127.0.0.1:7474',
'http://127.0.0.1:7476',
user="neo4j", # 数据库user name,如果没有更改过,应该是neo4j
password="neo4j")
......
......@@ -16,7 +16,7 @@ from answer_search import *
class ChatBotGraph:
def __init__(self):
self.g = Graph(
'http://127.0.0.1:7474',
'http://127.0.0.1:7476',
user="neo4j",
password="neo4j")
self.classifier = QuestionClassifier(self.g)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment