移除ProPainter模式:删除代码、模型、UI设置和翻译
Some checks failed
Docker Build and Push / check-secrets (push) Successful in 3s
Docker Build and Push / build-and-push (cpu, latest) (push) Has been skipped
Docker Build and Push / build-and-push (cuda, 11.8) (push) Has been skipped
Docker Build and Push / build-and-push (cuda, 12.6) (push) Has been skipped
Docker Build and Push / build-and-push (cuda, 12.8) (push) Has been skipped
Docker Build and Push / build-and-push (directml, latest) (push) Has been skipped
Build Windows CPU / build (push) Has been cancelled
Build Windows CUDA 11.8 / build (push) Has been cancelled
Build Windows CUDA 12.6 / build (push) Has been cancelled
Build Windows CUDA 12.8 / build (push) Has been cancelled
Build Windows DirectML / build (push) Has been cancelled

ProPainter算法占用341MB模型文件且需要大量显存,移除以精简项目。
- 删除 backend/inpaint/propainter_inpaint.py 和 video/ 模块
- 删除 backend/models/propainter/ 模型目录
- 移除 InpaintMode.PROPAINTER 枚举和 propainterMaxLoadNum 配置
- 移除高级设置页面的 ProPainter 设置组
- 清理所有7种语言的翻译文件
- 更新 README 和 .gitignore

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
flavioy
2026-04-09 20:20:29 +08:00
parent 0bae013097
commit 2d1d3fe37b
61 changed files with 8 additions and 8837 deletions

View File

@@ -11,7 +11,6 @@ BasicSetting = 기본 설정
AdvancedSetting = 고급 설정
SubtitleDetectionSetting = 자막 감지 설정
SttnSetting = STTN 설정
ProPainterSetting = ProPainter 설정
AboutSetting = 정보
HardwareAcceleration = 하드웨어 가속
HardwareAccelerationDesc = GPU 또는 ONNX 백엔드 사용 가속 처리
@@ -36,8 +35,6 @@ SttnReferenceLength = 참조 프레임 수
SttnReferenceLengthDesc = 기본값: 10
SttnMaxLoadNum = 최대 동시 처리 프레임
SttnMaxLoadNumDesc = 값 클수록 품질 향상 (VRAM 요구 증가, 기본값 50)
PropainterMaxLoadNum = 최대 동시 처리 프레임
PropainterMaxLoadNumDesc = 값 클수록 품질 향상 (VRAM 요구 증가, 기본값 70)
CheckUpdateOnStartup = 시작시 업데이트 확인
CheckUpdateOnStartupDesc = 새 버전은 안정성/기능 개선 포함 (권장)
UpdatesAvailableTitle = 업데이트 가능
@@ -66,8 +63,7 @@ InpaintMode = 처리 모델
SelectSubtitleArea = 미리보기에서 처리 영역 선택: {}
InpaintModeDesc = STTN 스마트 지우기: 실제 인물 영상에 적합, 빠른 속도, 스마트 지우기(최소 4GB VRAM)
STTN 자막 감지: 자막 감지 버전, 스마트 지우기 없음(최소 4GB VRAM)
LAMA: 애니메이션 영상에 적합, 보통 속도(VRAM 요구량 낮음)
ProPainter: 많은 VRAM 소모, 느린 속도, 격렬한 움직임 영상에 적합(최소 8GB VRAM)
LAMA: 애니메이션 영상에 적합, 보통 속도(VRAM 요구량 낮음)
OpenCV: 초고속 모드, 인페인트 효과 보장 안 됨, 텍스트 영역만 제거(VRAM 요구량 낮음)
SubtitleDetectMode = 자막 감지
ErrorDuringProcessing = 처리 중 오류: {}
@@ -122,7 +118,6 @@ RequestError = {} 접근 실패. 이유: {}
SttnAuto = STTN 지능형 제거
SttnDet = STTN 자막 감지
LAMA = LAMA
ProPainter = ProPainter
OpenCV = OpenCV
[SubtitleDetectMode]