diff --git a/main.py b/main.py index 5f358fd1..9292dc2b 100644 --- a/main.py +++ b/main.py @@ -43,4 +43,4 @@ def gpt4_proxy(): if __name__ == '__main__': - app.run(host='localhost', port=7000) + app.run(host='0.0.0.0', port=7000) diff --git a/test.py b/test.py index 784dc0d7..827335b3 100644 --- a/test.py +++ b/test.py @@ -1,7 +1,7 @@ import requests def test_gateway(prompttext): - url = 'http://localhost:7000/gpt' + url = 'https://volucy-gateway-e3d2bzbxdeaaayhz.westeurope-01.azurewebsites.net:7000/gpt' payload = { 'prompt': prompttext, }