Skip to content

Commit 2b6f6b8

Browse files
authored
Update Images/ai-images.py w small comment
1 parent 1290cc4 commit 2b6f6b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Images/ai-images.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ def image_generate(prompt: str):
1919
# If the model endpoint is Azure, we need to use a different header
2020
if "azure.com" in url:
2121
headers["api-key"] = TOKEN
22+
# otherwise default to the standard header format for openai
2223
else:
2324
headers["Authorization"] = f"Bearer {TOKEN}"
2425
data = {

0 commit comments

Comments
 (0)