mirror of
https://github.com/YaoFANGUK/video-subtitle-remover.git
synced 2026-05-04 16:07:33 +08:00
添加任务列表组件并优化视频加载逻辑 支持可视化显示字幕区域 整理所有模型, 分别为STTN智能擦除, STTN字幕检测, LAMA, ProPainter, OpenCV 提高处理性能 新增CPU运行模式并优化多语言支持 修复Propainter模式部分视频报错 本次提交新增了CPU运行模式,适用于无GPU加速的场景。同时,优化了多语言支持,新增了日语、韩语、越南语等语言配置文件,并更新了README文档以反映新的运行模式和多语言支持。此外,修复了部分代码逻辑,提升了系统的稳定性和兼容性。
12 lines
332 B
Python
12 lines
332 B
Python
from enum import Enum
|
|
|
|
from qfluentwidgets import getIconColor, Theme, FluentIconBase
|
|
|
|
|
|
class MyFluentIcon(FluentIconBase, Enum):
|
|
Stop = "stop"
|
|
|
|
def path(self, theme=Theme.AUTO):
|
|
# getIconColor() return "white" or "black" according to current theme
|
|
return f'./ui/icon/{self.value}_{getIconColor(theme)}.svg'
|