MCPcopy Create free account
hub / github.com/T-duality/PillOCR-python / save_model_choice

Method save_model_choice

GPTOCRGUI.py:1095–1099  ·  view source on GitHub ↗

保存模型选择到配置文件

(self, event=None)

Source from the content-addressed store, hash-verified

1093 self.log("代理设置已保存")
1094
1095 def save_model_choice(self, event=None):
1096 """保存模型选择到配置文件"""
1097 model_choice = self.model_var.get() # 获取当前选择的模型
1098 self.save_settings()
1099 self.log(f"模型已设置为: {model_choice}")
1100
1101 # def save_auto_start_setting(self):
1102 # """保存自动启动设置"""

Callers

nothing calls this directly

Calls 2

save_settingsMethod · 0.95
logMethod · 0.95

Tested by

no test coverage detected