Spaces:
Sleeping
Sleeping
Updated Azure URL
Browse files
app.py
CHANGED
@@ -13,9 +13,9 @@ import calendar
|
|
13 |
import re
|
14 |
|
15 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|
16 |
-
openai.api_base = "https://tensora-oai.openai.azure.com/"
|
17 |
openai.api_type = "azure"
|
18 |
-
openai.api_version = "2023-
|
19 |
|
20 |
connection_string = os.getenv("CONNECTION")
|
21 |
blob_service_client = BlobServiceClient.from_connection_string(connection_string)
|
|
|
13 |
import re
|
14 |
|
15 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|
16 |
+
openai.api_base = "https://tensora-oai-france.openai.azure.com/"
|
17 |
openai.api_type = "azure"
|
18 |
+
openai.api_version = "2023-12-01-preview"
|
19 |
|
20 |
connection_string = os.getenv("CONNECTION")
|
21 |
blob_service_client = BlobServiceClient.from_connection_string(connection_string)
|