mbosse99 commited on
Commit
d5eddbc
·
verified ·
1 Parent(s): ce729c5

Updated Azure URL

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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-05-15"
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)