slogan 暂停监听
This commit is contained in:
@@ -24,7 +24,7 @@ public class MQConfig {
|
||||
// public static final String SR_RESULT_QUEUE = "SuperResolution-prod";
|
||||
//
|
||||
// public static final String GENERATE_RESULT_QUEUE = "GenerateImage-local";
|
||||
public static final String GENERATE_RESULT_QUEUE = "GenerateImage-dev";
|
||||
// public static final String GENERATE_RESULT_QUEUE = "GenerateImage-dev";
|
||||
|
||||
public static final String TO_PRODUCT_IMAGE_RESULT_QUEUE = "ToProductImage-local";
|
||||
public MQConfig() {
|
||||
|
||||
@@ -2989,6 +2989,8 @@ public class PythonService {
|
||||
MediaType mediaType = MediaType.parse("application/json");
|
||||
// RequestBody body = RequestBody.create(mediaType, JSON.toJSONString(generateToPythonDTO, SerializerFeature.WriteMapNullValue));
|
||||
RequestBody body = RequestBody.create(mediaType, params);
|
||||
|
||||
log.info("generate 请求地址: {}", accessPythonIp + ":" + port + servicePath);
|
||||
Request request = new Request.Builder()
|
||||
// .url("http://18.167.251.121:9992")
|
||||
// .url("http://127.0.0.1:5000/api/diffusion")
|
||||
|
||||
Reference in New Issue
Block a user