修改 imageToSketch
This commit is contained in:
@@ -3463,8 +3463,8 @@ public class PythonService {
|
||||
map.put("sketch_bucket", bucket);
|
||||
map.put("sketch_name", objectName);
|
||||
|
||||
log.info("ImageToSketch请求python 参数:####{}", map);
|
||||
String param = JSON.toJSONString(map, SerializerFeature.WriteNullStringAsEmpty);
|
||||
log.info("ImageToSketch请求python 参数:####{}", param);
|
||||
RequestBody body = RequestBody.create(paramMap, param);
|
||||
Request request = new Request.Builder()
|
||||
.url(accessPythonIp + ":" + accessPythonPort + "/api/image2sketch")
|
||||
|
||||
Reference in New Issue
Block a user