from constants import css import gradio as gr block = gr.Blocks(css=css) with block: gr.HTML( """

Evaluate Schedulers with StableDiffusionPipeline 🧨

Stable Diffusion 2.1 is the latest text-to-image model from StabilityAI. Access Stable Diffusion 1 Space here
For faster generation and API access you can try DreamStudio Beta.

""" ) gr.HTML( """

How it works?

Biases and content acknowledgment

Despite how impressive being able to turn text into image is, beware to the fact that this model may output content that reinforces or exacerbates societal biases, as well as realistic faces, pornography and violence. The model was trained on the LAION-5B dataset, which scraped non-curated image-text-pairs from the internet (the exception being the removal of illegal content) and is meant for research purposes. You can read more in the model card

""" ) block.launch()