The argument for is_support should be task_type

This commit is contained in:
Song
2023-09-09 22:08:39 +08:00
committed by tsukasa
parent f2b4e533ce
commit dbb1ab4437
+1
View File
@@ -131,6 +131,7 @@ class ComputeKernel:
return "error!"
def text_embedding(self,input:str,model_name:Optional[str] = None):
task_req = ComputeTask()
task_req.set_text_embedding_params(input,model_name)