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

Method set_gpt_model

GPTOCRGUI.py:106–110  ·  view source on GitHub ↗
(self, model_name)

Source from the content-addressed store, hash-verified

104 self.log_callback(f"设置客户端时出错: {str(e)}")
105
106 def set_gpt_model(self, model_name):
107 if not model_name:
108 self.log_callback("模型不能为空")
109 return
110 self.gpt_model = model_name
111
112 def process_image(self, image):
113 if not self.client:

Callers 2

__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected