class AssetDatabase: def (self, db_path="assets_db.json"): self.db_path = db_path self.assets = [] # each asset: id, name, type, path, tags, preview self.load()
ttk.Button(details_frame, text="Update Tags", command=self.update_tags).grid(row=4, column=1, sticky="e", pady=5) ttk.Button(details_frame, text="Export Asset", command=self.export_asset).grid(row=5, column=1, sticky="e", pady=2) ttk.Button(details_frame, text="Reveal in Explorer", command=self.reveal_asset).grid(row=6, column=1, sticky="e") assets studio gui