build ragflow image from scratch (#376)

### What problem does this PR solve?

issue: #205 

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
jie yang
2024-04-16 12:29:58 +08:00
committed by GitHub
parent c344486aa0
commit a7be5d4e8b
4 changed files with 77 additions and 23 deletions

View File

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
import re, copy, time, datetime, demjson, \
import re, copy, time, datetime, demjson3, \
traceback, signal
import numpy as np
from deepdoc.parser.resume.entities import degrees, schools, corporations
@ -197,7 +197,7 @@ def forProj(cv):
def json_loads(line):
return demjson.decode(re.sub(r": *(True|False)", r": '\1'", line))
return demjson3.decode(re.sub(r": *(True|False)", r": '\1'", line))
def forWork(cv):