This commit is contained in:
valueon 2025-03-11 07:34:15 +01:00
parent 6f460b366d
commit 8f9682a748
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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,
}