fix(video): 修改Python服务URL为本地地址
- 将检测器API地址从容器名改为localhost- 更新PYTHON_API_URL常量值为http://localhost:8000/api/detect/file
This commit is contained in:
@@ -66,7 +66,7 @@ public class VideoAnalysisService {
|
||||
private com.ruoyi.video.mapper.InspectionTaskRecordMapper inspectionTaskRecordMapper;
|
||||
|
||||
// 检测器配置 - 使用容器名而不是localhost
|
||||
private static final String PYTHON_API_URL = "http://rtsp-python-service:10083/api/detect/file";
|
||||
private static final String PYTHON_API_URL = "http://localhost:8000/api/detect/file";
|
||||
private static final String MODEL_NAME = "yolov8_detector";
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user