Open cpacker opened 2 years ago
Using a notebook is ok, but it get out of hand pretty quickly. I don't have access to weights yet, but I'll probably build a small Streamlit app. I'll share it here when it's done.
@mlaprise another option is to try forking https://github.com/saharmor/dalle-playground for use with Stable Diffusion
A graphical interface for generating images (both specifying inputs and visualizing/saving outputs) would make it a lot easier to quickly iterate over prompts and other settings.
For anyone wanting something along these lines right now, I made a basic notebook version of
txt2img.py
that exposes the args and their defaults (and keeps the model loaded indefinitely): https://colab.research.google.com/github/cpacker/stable-diffusion/blob/interactive-notebook/scripts/stable_diffusion_interactive_colab.ipynbBasically just change settings on a GUI (e.g., just edit the prompt) and re-run a cell:
Given the amount of people interested in using the repo, IMO it would be nice to have "official" notebook versions of the main scripts (both
img2img.py
andtxt2img.py
) that expose all the options in a similar way. Not sure if the notebook I linked is the best/cleanest way to do it though (e.g. in its current construction, if anyone changes the args intxt2img.py
the notebook will go out-of-sync).