添加AI图像生成接口、修改相关界面
This commit is contained in:
@@ -877,6 +877,14 @@ class PQAutomationApp:
|
||||
|
||||
def main():
|
||||
try:
|
||||
# 全局日志:默认 INFO 输出到 stderr,便于排查 AI 接口等关键事件
|
||||
import logging as _logging
|
||||
if not _logging.getLogger().handlers:
|
||||
_logging.basicConfig(
|
||||
level=_logging.INFO,
|
||||
format="%(asctime)s [%(levelname)s] %(name)s: %(message)s",
|
||||
datefmt="%H:%M:%S",
|
||||
)
|
||||
# root = tk.Tk()
|
||||
root = ttk.Window(themename="yeti")
|
||||
app = PQAutomationApp(root)
|
||||
|
||||
Reference in New Issue
Block a user