mirror of
https://github.com/YaoFANGUK/video-subtitle-remover.git
synced 2026-05-06 09:17:30 +08:00
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>
19 lines
368 B
Python
19 lines
368 B
Python
from enum import Enum, unique
|
|
|
|
@unique
|
|
class InpaintMode(Enum):
|
|
"""
|
|
图像重绘算法枚举
|
|
"""
|
|
STTN_AUTO = "sttn-auto"
|
|
STTN_DET = "sttn-det"
|
|
LAMA = "lama"
|
|
OPENCV = "opencv"
|
|
|
|
@unique
|
|
class SubtitleDetectMode(Enum):
|
|
"""
|
|
字幕检测算法枚举
|
|
"""
|
|
PP_OCRv5_MOBILE = "PP_OCRv5_MOBILE"
|
|
PP_OCRv5_SERVER = "PP_OCRv5_SERVER" |