Spaces:
Sleeping
Sleeping
Commit
·
e312fc3
1
Parent(s):
ee2c0c9
Update app.py
Browse files
app.py
CHANGED
|
@@ -73,9 +73,9 @@ with open('bm25_model.pkl', 'rb') as file:
|
|
| 73 |
# france credentials
|
| 74 |
BASE_URL = "https://cnerg-gpt-france.openai.azure.com/"
|
| 75 |
DEPLOYMENT_NAME = "GPT-4-France"
|
| 76 |
-
|
| 77 |
-
# print(API_KEY)
|
| 78 |
-
API_KEY = "1b68ed6e70d044558517db7721de6fac"
|
| 79 |
model = AzureChatOpenAI(
|
| 80 |
openai_api_base=BASE_URL,
|
| 81 |
openai_api_version="2023-05-15",
|
|
|
|
| 73 |
# france credentials
|
| 74 |
BASE_URL = "https://cnerg-gpt-france.openai.azure.com/"
|
| 75 |
DEPLOYMENT_NAME = "GPT-4-France"
|
| 76 |
+
API_KEY = os.environ['API_KEY']
|
| 77 |
+
# # print(API_KEY)
|
| 78 |
+
# API_KEY = "1b68ed6e70d044558517db7721de6fac"
|
| 79 |
model = AzureChatOpenAI(
|
| 80 |
openai_api_base=BASE_URL,
|
| 81 |
openai_api_version="2023-05-15",
|