移除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

@@ -1,5 +0,0 @@
filename,filesize,encoding,header
ProPainter_1.pth,50000000,,
ProPainter_2.pth,50000000,,
ProPainter_3.pth,50000000,,
ProPainter_4.pth,7780510,,
1 filename filesize encoding header
2 ProPainter_1.pth 50000000
3 ProPainter_2.pth 50000000
4 ProPainter_3.pth 50000000
5 ProPainter_4.pth 7780510