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

Add text input debounce and loader #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

GabrielVidal1
Copy link

I noticed every keypress called the api to generate a new image, even if they don't have time to be displayed at all, what a waste of computing power! So I added a debounce on the text input (feel free to change the delay) and display a loader when loading.

Anyway great demo !
I can't wait to see more of fast open-source

Copy link

vercel bot commented Oct 13, 2024

@GabrielVidal1 is attempting to deploy a commit to the Replicate Team on Vercel.

A member of the Team first needs to authorize it.

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