|
|
|
@@ -3,7 +3,6 @@ package textInference |
|
|
|
import ( |
|
|
|
"gitlink.org.cn/JointCloud/pcm-coordinator/internal/scheduler/database" |
|
|
|
"gitlink.org.cn/JointCloud/pcm-coordinator/internal/scheduler/schedulers/option" |
|
|
|
"gitlink.org.cn/JointCloud/pcm-coordinator/internal/scheduler/service/inference" |
|
|
|
"gitlink.org.cn/JointCloud/pcm-coordinator/internal/scheduler/strategy" |
|
|
|
"gitlink.org.cn/JointCloud/pcm-coordinator/pkg/constants" |
|
|
|
"gitlink.org.cn/JointCloud/pcm-coordinator/pkg/models" |
|
|
|
@@ -36,13 +35,6 @@ func (t *TextToImage) UpdateStatus(aiTaskList []*models.TaskAi, adapterName stri |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
func (t *TextToImage) AppendRoute(urls []*inference.InferUrl) error { |
|
|
|
for i, _ := range urls { |
|
|
|
urls[i].Url = urls[i].Url + inference.FORWARD_SLASH + TEXTTOIMAGE |
|
|
|
} |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
func (t *TextToImage) AiType() string { |
|
|
|
func (t *TextToImage) GetAiType() string { |
|
|
|
return TEXTTOIMAGE_AiTYPE |
|
|
|
} |