Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from azure.core.credentials import AzureKeyCredential
|
|
6 |
|
7 |
# Azure Inference setup
|
8 |
url = os.getenv("Azure_Endpoint")
|
9 |
-
api_key = AzureKeyCredential(os.getenv(str("Azure_API_KEY"))
|
10 |
|
11 |
# Initialize the ChatCompletionsClient
|
12 |
client = ChatCompletionsClient(
|
|
|
6 |
|
7 |
# Azure Inference setup
|
8 |
url = os.getenv("Azure_Endpoint")
|
9 |
+
api_key = AzureKeyCredential(os.getenv(str("Azure_API_KEY")))
|
10 |
|
11 |
# Initialize the ChatCompletionsClient
|
12 |
client = ChatCompletionsClient(
|