Simple example which is based on gradio package and requires only gradio package besides on the main required packages.
It provides a playground for the SD2 pipeline.
With this example, users can test the SD2 pipeline with different masks and can be an example implementation for developers building gradio applications.
Features
Generate gradient mask on runtime.
Import mask image from a file.
Extract the depth image from the given image with Intel/dpt-large model and use it as a mask image.
The mask images can be manipulated with brightness, contrast and transformation variables.
Can create images with SD2 pipeline.
Further Reading
You can read more about the example from this markdown file (which is located under examples/gradio directory).
Description
gradio
package besides on the main required packages.Features
Further Reading
examples/gradio
directory).Test Environment