Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Path: blob/main/diffusers/prompt_2_prompt_pipeline.ipynb
Views: 3149
Prompt2Prompt Pipeline
Prompt2Prompt allows the following edits:
ReplaceEdit (change words in prompt)
ReplaceEdit with local blend (change words in prompt, keep image part unrelated to changes constant)
RefineEdit (add words to prompt)
RefineEdit with local blend (add words to prompt, keep image part unrelated to changes constant)
ReweightEdit (modulate importance of words)
Abbreviated examples for the other edits:
ReplaceEdit with local blend
RefineEdit
RefineEdit with local blend
ReweightEdit
Side note: See this GitHub gist if you want to visualize the attention maps. This script was contributed by Umer Adil and the notebook by Parag Ekbote.