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

Update Image Gen example with mock photoes #48

Merged
merged 2 commits into from
Dec 24, 2024
Merged

Conversation

CahidArda
Copy link
Collaborator

The app was working without API keys, but showed a mock image which wasn't related to the prompt.

With this PR, we add the images to the app and show them if the API keys aren't provided.

This way, it will be possible to use this app as a Vercel template instead of adding a new example as #44

Copy link

linear bot commented Dec 23, 2024

before, we were simply using context.sleep, which can be surprising for users. Now we call a mock endpoint.
@CahidArda CahidArda merged commit 76f674a into main Dec 24, 2024
19 checks passed
@CahidArda CahidArda deleted the DX-1394-image-gen-fix branch December 24, 2024 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant