From 77ccbf7c7ced63b6f656e70378b0d8386e4b92c5 Mon Sep 17 00:00:00 2001
From: shidong <shidong@jhsoft.cc>
Date: 星期二, 22 七月 2025 14:05:14 +0800
Subject: [PATCH] #2025/7/22 #修正图片描述的赋值

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

diff --git a/qwen_detect.py b/qwen_detect.py
index da536e5..2b769ed 100644
--- a/qwen_detect.py
+++ b/qwen_detect.py
@@ -9,7 +9,6 @@
 from pymilvus import connections, Collection
 from logging.handlers import RotatingFileHandler
 import get_mem
-from multiprocessing import Process
 
 class ThreadPool:
     def __init__(self):
@@ -119,7 +118,7 @@
                         "video_point_name": res['video_point_name'],
                         "is_waning": 0,
                         "is_desc": 1,
-                        "zh_desc_class": "",
+                        "zh_desc_class": res['zh_desc_class'],
                         "bounding_box": res['bounding_box'],  # bounding_box
                         "task_id": res['task_id'],  # task_id
                         "task_name": res['task_name'],  # task_id

--
Gitblit v1.8.0