升级paddle到2.6.1

This commit is contained in:
天涯古巷
2024-09-30 22:34:06 +08:00
committed by GitHub
parent 99770a32b9
commit 32c47873ab

4
gui.py
View File

@@ -22,8 +22,8 @@ class SubtitleRemoverGUI:
def __init__(self):
# 初次运行检查运行环境是否正常
from paddle import fluid
fluid.install_check.run_check()
from paddle import utils
utils.run_check()
self.font = 'Arial 10'
self.theme = 'LightBrown12'
sg.theme(self.theme)