Spaces:
Runtime error
Runtime error
Michelangiolo
commited on
Commit
•
52ad1f7
1
Parent(s):
d97b57a
bug fix
Browse files- gpt3_function.py +1 -1
gpt3_function.py
CHANGED
@@ -5,7 +5,7 @@ import os
|
|
5 |
openai_api_key = os.environ['API_KEY_OPENAI']
|
6 |
|
7 |
#azure
|
8 |
-
|
9 |
azure_api_base = "https://openai-619.openai.azure.com/" # your endpoint should look like the following https://YOUR_RESOURCE_NAME.openai.azure.com/
|
10 |
azure_api_type = 'azure'
|
11 |
azure_api_version = '2022-12-01' # this may change in the future
|
|
|
5 |
openai_api_key = os.environ['API_KEY_OPENAI']
|
6 |
|
7 |
#azure
|
8 |
+
azure_api_key = os.environ['API_KEY_AZURE']
|
9 |
azure_api_base = "https://openai-619.openai.azure.com/" # your endpoint should look like the following https://YOUR_RESOURCE_NAME.openai.azure.com/
|
10 |
azure_api_type = 'azure'
|
11 |
azure_api_version = '2022-12-01' # this may change in the future
|