Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/T-duality/PillOCR-python
/ set_max_tokens
Method
set_max_tokens
GPTOCRGUI.py:49–50 ·
view source on GitHub ↗
(self, max_tokens)
Source
from the content-addressed store, hash-verified
47
self.user_prompt = user_prompt
48
49
def
set_max_tokens(self, max_tokens):
50
self.max_tokens = max_tokens
51
52
def
set_provider(self, provider):
53
""
"设置当前服务商"
""
Callers
2
update_client_settings
Method · 0.80
load_settings
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected