diff --git a/src/static/js/config.js b/src/static/js/config.js index 8818638..976a2ed 100755 --- a/src/static/js/config.js +++ b/src/static/js/config.js @@ -13,5 +13,6 @@ const REST_SERVER = { PORT: 51000 } -const DALLE3_REQUEST_URL = "/api/services/imageGenerate/dalle3" +// const DALLE3_REQUEST_URL = "/api/services/imageGenerate/bingimg" +const BINGART_REQUEST_URL = "/api/services/imageGenerate/bingart" const IMAGEN_REQUEST_URL = "/api/services/imageGenerate/imagen" \ No newline at end of file diff --git a/src/static/js/utility.js b/src/static/js/utility.js index c64f993..21213d6 100755 --- a/src/static/js/utility.js +++ b/src/static/js/utility.js @@ -16,7 +16,7 @@ let apiRequestBody = { function generatorBtn1() { errorZone1.html(" ") try { - const apiUrl = `http://${REST_SERVER.IP}:${REST_SERVER.PORT}${DALLE3_REQUEST_URL}` + const apiUrl = `http://${REST_SERVER.IP}:${REST_SERVER.PORT}${BINGART_REQUEST_URL}` apiRequestBody.prompt = inputTxtBox1.val() apiRequestBody.downloadCount = inputTxtBox3.val() diff --git a/src/templates/index.html b/src/templates/index.html index 3b67431..40b51c0 100755 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -24,7 +24,7 @@ AI Image Generator