change licence (#28)

* add front end code

* change licence
This commit is contained in:
KevinHuSh
2024-01-17 09:39:50 +08:00
committed by GitHub
parent 6b8fc2ce1f
commit c372afe40a
9 changed files with 70 additions and 66 deletions

View File

@ -62,7 +62,7 @@ class Dealer:
return set(res.keys())
return res
fnm = os.path.join(get_project_base_directory(), "res")
fnm = os.path.join(get_project_base_directory(), "rag/res")
self.ne, self.df = {}, {}
try:
self.ne = json.load(open(os.path.join(fnm, "ner.json"), "r"))