移除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 = Basic Settings
AdvancedSetting = Advanced Settings
SubtitleDetectionSetting = Subtitle Detection Settings
SttnSetting = STTN Settings
ProPainterSetting = ProPainter Settings
AboutSetting = About
HardwareAcceleration = Hardware Acceleration
HardwareAccelerationDesc = Accelerate processing using GPU or ONNX backend
@@ -36,8 +35,6 @@ SttnReferenceLength = Reference Frame Count
SttnReferenceLengthDesc = Default: 10
SttnMaxLoadNum = Max Concurrent Processing Frames
SttnMaxLoadNumDesc = Higher values improve quality but require more VRAM (default 50).
PropainterMaxLoadNum = Max Concurrent Processing Frames
PropainterMaxLoadNumDesc = Higher values improve quality but require more VRAM (default 70).
CheckUpdateOnStartup = Check Updates on Startup
CheckUpdateOnStartupDesc = New versions offer improved stability and features (recommended).
UpdatesAvailableTitle = Update Available
@@ -67,7 +64,6 @@ SelectSubtitleArea = Select processing area in video preview: {}
InpaintModeDesc = STTN Smart Inpainting: Best for real-person videos, fast speed, smart inpainting (minimum 4GB VRAM)
STTN Subtitle Detection: With subtitle detection, no smart inpainting (minimum 4GB VRAM)
LAMA: Good for animation videos, moderate speed (low VRAM requirement)
ProPainter: Consumes a lot of VRAM, slower speed, best for videos with intense motion (minimum 8GB VRAM)
OpenCV: Ultra-fast mode, inpainting effect not guaranteed, only removes text in detected regions (low VRAM requirement)
SubtitleDetectMode = Subtitle Detection
ErrorDuringProcessing = Error during processing: {}
@@ -122,7 +118,6 @@ RequestError = Failed to access {}. Reason: {}
SttnAuto = STTN Smart Erase
SttnDet = STTN Detection
LAMA = LAMA
ProPainter = ProPainter
OpenCV = OpenCV
[SubtitleDetectMode]