if os.path.isfile(source_model_input): log.info('The provided source model is a file') elif os.path.isdir(source_model_input): log.info('The provided model is a folder') ...
tk.Label(config_card, text="单个文件:", font=self.font_zh, bg="white").grid(row=0, column=0, sticky=tk.W, pady=8) self.file_path = tk.StringVar() ttk.Entry(config ...