diff --git a/main.py b/main.py index d4afbdc6..1ed98117 100644 --- a/main.py +++ b/main.py @@ -43,4 +43,3 @@ if __name__ == '__main__': app.run(host='0.0.0.0', port=8000) # start with: gunicorn -w 4 -b 0.0.0.0:8000 app:app -# export FLASK_ENV=production \ No newline at end of file diff --git a/test.py b/test.py index 221fc957..0ad5f5fb 100644 --- a/test.py +++ b/test.py @@ -1,8 +1,8 @@ import requests def test_gateway(prompttext): - # url = 'https://volucy-gateway-e3d2bzbxdeaaayhz.westeurope-01.azurewebsites.net:8000/gpt' - url = 'http://localhost:8000/gpt' + url = 'https://volucy-gateway-e3d2bzbxdeaaayhz.westeurope-01.azurewebsites.net:8000/gpt' + # url = 'http://localhost:8000/gpt' payload = { 'prompt': prompttext, }