TenPoisk
Update sd.py
d4e4f51
raw
history blame
949 Bytes
import gradio as gr
title = "πŸ”₯ Stable Diffusion"
description = \
"""
ℹ️ This space is designed to generate images based on __Stable Diffusion__!
"""
article = \
"""
![viaIT.SD](https://huggingface.co/spaces/viait/stable-diffusion/resolve/main/img/global.png)
<p> </p>
<p style='text-align: center'>
<a href='https://hf.co/viait' target='_blank'>πŸ‘‘ Owner</a> | <a href='https://stats.uptimerobot.com/Lppy5iNNNV' target='_blank'>πŸ“Š Status</a> | <a href='https://hf.co/spaces/viait/stable-diffusion-license' target='_blank'>πŸ“– License</a>
</p>
"""
theme = gr.themes.Monochrome(
primary_hue="indigo",
secondary_hue="blue",
neutral_hue="slate",
radius_size=gr.themes.sizes.radius_sm,
font=[gr.themes.GoogleFont("Open Sans"), "ui-sans-serif", "system-ui", "sans-serif"],
)
gr.Interface.load("models/runwayml/stable-diffusion-v1-5", title=title, description=description, article=article, theme=theme).launch()