Spaces:
Runtime error
Runtime error
mertcobanov
commited on
Commit
•
0846ce3
1
Parent(s):
827ed8f
api base changed
Browse files- openai_api.py +1 -1
openai_api.py
CHANGED
@@ -8,7 +8,7 @@ class OpenAI_API:
|
|
8 |
def single_request(self, address_text):
|
9 |
|
10 |
openai.api_type = "azure"
|
11 |
-
openai.api_base = "https://
|
12 |
openai.api_version = "2022-12-01"
|
13 |
openai.api_key = os.getenv("API_KEY")
|
14 |
|
|
|
8 |
def single_request(self, address_text):
|
9 |
|
10 |
openai.api_type = "azure"
|
11 |
+
openai.api_base = "https://openai-eu.openai.azure.com/"
|
12 |
openai.api_version = "2022-12-01"
|
13 |
openai.api_key = os.getenv("API_KEY")
|
14 |
|