BUGFIX:sr
This commit is contained in:
@@ -3224,7 +3224,7 @@ public class PythonService {
|
||||
String jsonString = JSON.toJSONString(content, SerializerFeature.WriteNullStringAsEmpty);
|
||||
RequestBody body = RequestBody.create(mediaType, jsonString);
|
||||
Request request = new Request.Builder()
|
||||
.url(accessPythonIp + srServicePort + "/api/super_resolution")
|
||||
.url(accessPythonIp + ":" + srServicePort + "/api/super_resolution")
|
||||
.method("POST", body)
|
||||
.addHeader("Content-Type", "application/json")
|
||||
.build();
|
||||
|
||||
Reference in New Issue
Block a user