BUGFIX:sr

This commit is contained in:
2024-06-17 17:34:27 +08:00
parent 2a2c4b1d39
commit 19524520f4

View File

@@ -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();