Merge remote-tracking branch 'origin/dev/dev' into dev/dev
This commit is contained in:
@@ -3326,7 +3326,8 @@ public class PythonService {
|
||||
RequestBody body = RequestBody.create(mediaType, param);
|
||||
Request request = new Request.Builder()
|
||||
// .url(accessPythonIp + ":" + accessPythonPort + "/api/generate_product_image")
|
||||
.url(accessPythonIp + ":9996/api/generate_product_image")
|
||||
// .url(accessPythonIp + ":9996/api/generate_product_image")
|
||||
.url(accessPythonIp + ":9994/api/generate_product_image")
|
||||
.method("POST", body)
|
||||
.addHeader("Authorization", "Basic YWlkbGFiOjEyMw==")
|
||||
.addHeader("Content-Type", "application/json")
|
||||
|
||||
@@ -152,7 +152,8 @@ public class ChatRobotServiceImpl implements ChatRobotService {
|
||||
RequestBody body = RequestBody.create(mediaType, param);
|
||||
Request request = new Request.Builder()
|
||||
// .url("http://127.0.0.1:5000/api/chat_stream_test")
|
||||
.url(accessPythonIp + ":" + accessPythonPort + "/api/chat_stream_test")
|
||||
// .url(accessPythonIp + ":" + accessPythonPort + "/api/chat_stream_test")
|
||||
.url(accessPythonIp + ":" + accessPythonPort + "/api/chat_robot")
|
||||
// .url(fastApiPythonAddress + "/api/chat_robot")
|
||||
// .url(accessPythonIp + ":10200/aifda/api/v1.0/generate")
|
||||
.method("POST", body)
|
||||
|
||||
Reference in New Issue
Block a user