Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix the typo from Image to images of OpenAIClient #420

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

wyl765
Copy link
Contributor

@wyl765 wyl765 commented Jul 1, 2024

fix typo from client.Image.create_variation to client.images.create_variation

Copy link

github-actions bot commented Jul 1, 2024

👋 Thanks for contributing @wyl765! We will review the pull request and get back to you soon.

@@ -60,7 +60,7 @@
# ---creating variation below---


response = client.Image.create_variation(
response = client.images.create_variation(
image=open(image_path, "rb"),
n=1,
size="1024x1024"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@koreyspace koreyspace merged commit 84acd61 into microsoft:main Jul 2, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants