-
Notifications
You must be signed in to change notification settings - Fork 2k
Sketch2Paint using Gemini #790
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
base: main
Are you sure you want to change the base?
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
View / edit / reply to this conversation on ReviewNB andycandy commented on 2025-06-06T08:28:07Z Could you move the import statements to the cells where they’re first used? |
View / edit / reply to this conversation on ReviewNB andycandy commented on 2025-06-06T08:28:07Z Would you mind wrapping the string and adding some indentation in the system instruction block? It’ll make it much easier to read. |
View / edit / reply to this conversation on ReviewNB andycandy commented on 2025-06-06T08:28:08Z This cell is already quite long, so it might be a good idea to add a bit more explanation or inline comments to clarify what's going on, especially in the more complex parts. Also, since the HTML section doesn’t need much elaboration, you could move it to a separate, collapsible cell to keep things cleaner and easier to follow. |
View / edit / reply to this conversation on ReviewNB andycandy commented on 2025-06-06T08:28:09Z Line #5. prompt = f"Convert this input sketch into a beautiful, detailed painting in {style} style. The painting should be photorealistic and richly textured, capturing the essence of the chosen medium." Could you wrap this lineup as well for better readability? |
View / edit / reply to this conversation on ReviewNB andycandy commented on 2025-06-06T08:28:10Z I think this might be a notebook issue we’re seeing the same image appear twice. Could you take a look and either fix it or confirm if that was intentional? |
Amazing notebook, @NSTiwari, the image-generation on a rough hand-drawn sketch is a super cool! Just a suggestion: adding a bit more explanation and splitting it into clear sections could make it even more approachable. Overall, it’s a fantastic and creative notebook! |
Hi @Giom-V, @markmcd.
Added the Sketch2Paint example that converts your hand-drawn sketches into beautiful paintings using Gemini's native image generation capabilities.
Could you please review?