Spaces:
Runtime error
Runtime error
Update openai_api.py
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://damlaopenai.openai.azure.com/"
|
12 |
openai.api_version = "2022-12-01"
|
13 |
openai.api_key = os.getenv("API_KEY")
|
14 |
|