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

How to download only the specific image based on the current prompt? #20

Open
GivanTsai opened this issue May 15, 2023 · 1 comment
Open

Comments

@GivanTsai
Copy link

When I send a requests through sender.py script, it seems that the receiver will download all images in this discord channel. How can I download the image only generated by the current input prompt?

@George-iam
Copy link
Owner

when you firstly run receiver it downloads all images in discord channel and then it will download only the new ones, so say it just synchronizes you channel's content with your local folder. That's how I implemented it regarding to my needs, but if you want to prevent it you need to add initial condition - to check all the channel's images, collect their names into a list and then download only if new task has name not in the list.

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

No branches or pull requests

2 participants