Spaces:
Sleeping
Sleeping
gamingflexer
commited on
Commit
·
bddfd76
1
Parent(s):
6713bea
Update SEVER_IP environment variable in app2.py
Browse files- src/app2.py +1 -1
src/app2.py
CHANGED
@@ -11,7 +11,7 @@ import time
|
|
11 |
BASE_PATH = os.path.dirname(os.path.abspath(__file__))
|
12 |
|
13 |
OPENAI_API_KEY = os.environ.get("OPENAI_API_KEY")
|
14 |
-
SEVER_IP = os.environ.get("SEVER_IP","http://34.122.223.224:9002
|
15 |
|
16 |
def get_total_number_of_products():
|
17 |
response = requests.get(f'{SEVER_IP}/api/total_number_of_products/')
|
|
|
11 |
BASE_PATH = os.path.dirname(os.path.abspath(__file__))
|
12 |
|
13 |
OPENAI_API_KEY = os.environ.get("OPENAI_API_KEY")
|
14 |
+
SEVER_IP = os.environ.get("SEVER_IP","http://34.122.223.224:9002")
|
15 |
|
16 |
def get_total_number_of_products():
|
17 |
response = requests.get(f'{SEVER_IP}/api/total_number_of_products/')
|