移除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 = Cài đặt cơ bản
AdvancedSetting = Cài đặt nâng cao
SubtitleDetectionSetting = Cài đặt phát hiện phụ đề
SttnSetting = Cài đặt STTN
ProPainterSetting = Cài đặt ProPainter
AboutSetting = Giới thiệu
HardwareAcceleration = Tăng tốc phần cứng
HardwareAccelerationDesc = Sử dụng GPU hoặc backend ONNX để tăng tốc xử lý
@@ -36,8 +35,6 @@ SttnReferenceLength = Số khung tham chiếu
SttnReferenceLengthDesc = Mặc định: 10
SttnMaxLoadNum = Số khung xử lý tối đa
SttnMaxLoadNumDesc = Càng cao càng tốt (yêu cầu nhiều VRAM, mặc định 50)
PropainterMaxLoadNum = Số khung xử lý tối đa
PropainterMaxLoadNumDesc = Càng cao càng tốt (yêu cầu nhiều VRAM, mặc định 70)
CheckUpdateOnStartup = Kiểm tra cập nhật khi khởi động
CheckUpdateOnStartupDesc = Phiên bản mới ổn định hơn (khuyến nghị bật)
UpdatesAvailableTitle = Có bản cập nhật
@@ -67,7 +64,6 @@ SelectSubtitleArea = Chọn vùng xử lý trong preview: {}
InpaintModeDesc = STTN Xóa thông minh: Phù hợp cho video người thật, tốc độ nhanh, xóa thông minh (tối thiểu 4GB VRAM)
STTN Phát hiện phụ đề: Có phát hiện phụ đề, không xóa thông minh (tối thiểu 4GB VRAM)
LAMA: Phù hợp cho video hoạt hình, tốc độ trung bình (yêu cầu VRAM thấp)
ProPainter: Tiêu tốn nhiều VRAM, tốc độ chậm, phù hợp cho video chuyển động mạnh (tối thiểu 8GB VRAM)
OpenCV: Chế độ siêu nhanh, không đảm bảo hiệu quả xóa, chỉ xóa vùng chứa văn bản (yêu cầu VRAM thấp)
SubtitleDetectMode = Chế độ phát hiện
ErrorDuringProcessing = Lỗi khi xử lý: {}
@@ -122,7 +118,6 @@ RequestError = Lỗi truy cập {}, lý do: {}
SttnAuto = STTN xóa thông minh
SttnDet = STTN phát hiện
LAMA = LAMA
ProPainter = ProPainter
OpenCV = OpenCV
[SubtitleDetectMode]