correct the misuse of spark image understanding

This commit is contained in:
binary-husky
2023-12-23 17:46:25 +08:00
parent 867ddd355e
commit e3e9921f6b
3 changed files with 11 additions and 7 deletions

View File

@@ -139,6 +139,8 @@ def can_multi_process(llm):
if llm.startswith('gpt-'): return True
if llm.startswith('api2d-'): return True
if llm.startswith('azure-'): return True
if llm.startswith('spark'): return True
if llm.startswith('zhipuai'): return True
return False
def request_gpt_model_multi_threads_with_very_awesome_ui_and_high_efficiency(