slogan 暂停监听
This commit is contained in:
@@ -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