(model,root)
| 110 | |
| 111 | #点击生成图片按钮 |
| 112 | def ButtonImage(model,root): |
| 113 | # root.withdraw() # 仅显示对话框,隐藏主窗口 |
| 114 | btn_gen = tkinter.Button(root, text='生成图片', font=('黑体', 14), height=1, width=29, |
| 115 | command = lambda : loadModel(model,root)) |
| 116 | btn_gen.place(x=115, y=450) |
| 117 | |
| 118 | if __name__ == '__main__': |
| 119 | #image_path是一张背景图 |
no test coverage detected