From 82ecdf13fa56a7757f26a1eed79499c3f7bc26e5 Mon Sep 17 00:00:00 2001
From: shidong <shidong@jhsoft.cc>
Date: 星期二, 08 七月 2025 19:00:10 +0800
Subject: [PATCH] #2025/7/8 #新增qwen_detect_batch.py和qwen_thread_batch.py测试批量处理图片, #在qwen_thread.py和qwen_thread_batch.py中 新增了预警之后查询隐患描述与处理建议, #新增了隐患描述的接口名称:image_rule_chat_with_detail #新增了处理建议的接口名称:image_rule_chat_suggestion #数据库增加了risk_description与suggestion字段

---
 qwen_detect.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/qwen_detect.py b/qwen_detect.py
index 29788f2..35f87fe 100644
--- a/qwen_detect.py
+++ b/qwen_detect.py
@@ -43,7 +43,7 @@
         # 鍔犺浇闆嗗悎
         self.collection = Collection(name="smartobject")
         self.collection.load()
-        self.pool = qwen_thread(int(self.config.get("threadnum")), self.config,"/home/debian/Qwen2.5-VL-3B-Instruct-GPTQ-Int4")
+        self.pool = qwen_thread(int(self.config.get("threadnum")), self.config,self.config.get("qwenaddr"))
         #鏄惁鏇存柊
         self._isupdate = False
 

--
Gitblit v1.8.0