From 8f9682a7487ff399ef96eb0a2c4459f59394556b Mon Sep 17 00:00:00 2001
From: valueon
Date: Tue, 11 Mar 2025 07:34:15 +0100
Subject: [PATCH] port
---
main.py | 2 +-
test.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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,
}