fix: paragraph-level docx replace, LLM-NER, НУБЕС whitelist, COMPANY_PATTERN limit — v0.6/v1.0.189
Deploy contracts-flask / validate (push) Successful in 0s
Deploy contracts-flask / validate (push) Successful in 0s
This commit is contained in:
+3
-1
@@ -133,7 +133,9 @@ def api_drhider():
|
||||
|
||||
def _process():
|
||||
try:
|
||||
zip_data, _csv = obfuscate_files(files)
|
||||
from services.llm_client import HttpxLLMClient
|
||||
llm = HttpxLLMClient(LLM_URL, LLM_KEY, LLM_MODEL) if LLM_KEY else None
|
||||
zip_data, _csv = obfuscate_files(files, llm_client=llm)
|
||||
with _drhider_lock:
|
||||
_drhider_jobs[job_id] = {"done": True, "data": zip_data, "error": None}
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user