#import library | |
import gradio as gr | |
#title of app | |
title = "π Stable Diffusion XL" | |
#description of app | |
description = "This space is for generating images from text with the Stable Diffusion XL model!" | |
#article of app | |
article = """ | |
<p style='text-align: center'> | |
<a href='https://hf.co/CofAI' target='_blank'>CofAI Group</a> | |
</p> | |
""" | |
gr.Interface.load("models/stabilityai/stable-diffusion-xl-base-1.0", title=title, description=description, article=article, theme = "Soft").launch() |