Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 26, 2024
1 parent 2b6f6b8 commit 9a18d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Images/ai-images.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def image_generate(prompt: str):
# If the model endpoint is Azure, we need to use a different header
if "azure.com" in url:
headers["api-key"] = TOKEN
# otherwise default to the standard header format for openai
# otherwise default to the standard header format for openai
else:
headers["Authorization"] = f"Bearer {TOKEN}"
data = {
Expand Down

0 comments on commit 9a18d96

Please sign in to comment.