Spaces:
Running
Running
dialogueeeeee
commited on
Commit
·
789886f
1
Parent(s):
aa1e3ae
Add application file
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ from openai import OpenAI, AzureOpenAI
|
|
8 |
engine = "gpt-4o"
|
9 |
api_key = "9e95c7efd64648bd86cd2fcfbe17905b"
|
10 |
api_base = "https://chatpartner-miniprogram.openai.azure.com/"
|
11 |
-
api_version = "2024-
|
12 |
client = AzureOpenAI(api_key=api_key, azure_endpoint=api_base, api_version=api_version)
|
13 |
|
14 |
class ImageProcessor:
|
|
|
8 |
engine = "gpt-4o"
|
9 |
api_key = "9e95c7efd64648bd86cd2fcfbe17905b"
|
10 |
api_base = "https://chatpartner-miniprogram.openai.azure.com/"
|
11 |
+
api_version = "2024-02-15-preview"
|
12 |
client = AzureOpenAI(api_key=api_key, azure_endpoint=api_base, api_version=api_version)
|
13 |
|
14 |
class ImageProcessor:
|