Spaces:
Sleeping
Sleeping
Changed open AI deployment
Browse files
app.py
CHANGED
@@ -25,9 +25,9 @@ import ssl
|
|
25 |
ssl._create_default_https_context = ssl._create_unverified_context
|
26 |
|
27 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|
28 |
-
openai.api_base = "https://tensora-oai.openai.azure.com/"
|
29 |
openai.api_type = "azure"
|
30 |
-
openai.api_version = "2023-
|
31 |
|
32 |
connection_string = os.getenv("CONNECTION")
|
33 |
blob_service_client = BlobServiceClient.from_connection_string(connection_string)
|
|
|
25 |
ssl._create_default_https_context = ssl._create_unverified_context
|
26 |
|
27 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|
28 |
+
openai.api_base = "https://tensora-oai-france.openai.azure.com/"
|
29 |
openai.api_type = "azure"
|
30 |
+
openai.api_version = "2023-12-01-preview"
|
31 |
|
32 |
connection_string = os.getenv("CONNECTION")
|
33 |
blob_service_client = BlobServiceClient.from_connection_string(connection_string)
|