Spaces:
Runtime error
Runtime error
TenPoisk
commited on
Commit
•
32e79d9
1
Parent(s):
0251fdf
Create sd.py
Browse files
sd.py
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
title = "🔥 Stable Diffusion"
|
4 |
+
|
5 |
+
description = \
|
6 |
+
"""
|
7 |
+
ℹ️ This space is designed to generate images based on __Stable Diffusion__!
|
8 |
+
"""
|
9 |
+
|
10 |
+
article = \
|
11 |
+
"""
|
12 |
+
<p style='text-align: center'>
|
13 |
+
<a href='https://hf.co/viait' target='_blank'>👑 Owner</a> | <a href='https://stats.uptimerobot.com/Lppy5iNNNV' target='_blank'>📊 Status</a>
|
14 |
+
</p>
|
15 |
+
|
16 |
+
"""
|
17 |
+
|
18 |
+
theme = gr.themes.Monochrome(
|
19 |
+
primary_hue="indigo",
|
20 |
+
secondary_hue="blue",
|
21 |
+
neutral_hue="slate",
|
22 |
+
radius_size=gr.themes.sizes.radius_sm,
|
23 |
+
font=[gr.themes.GoogleFont("Open Sans"), "ui-sans-serif", "system-ui", "sans-serif"],
|
24 |
+
)
|
25 |
+
|
26 |
+
gr.load("models/runwayml/stable-diffusion-v1-5", title=title, description=description, article=article, theme=theme).launch(share=True)
|