TenPoisk
commited on
Commit
·
aeb8db7
1
Parent(s):
321d679
Update sd_ui.py
Browse files
sd_ui.py
CHANGED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#import library
|
| 2 |
+
import gradio as gr
|
| 3 |
+
|
| 4 |
+
#title of app
|
| 5 |
+
title = "SD.UI V1.1"
|
| 6 |
+
|
| 7 |
+
#description of app
|
| 8 |
+
description = \
|
| 9 |
+
"""
|
| 10 |
+
__This is WebDef.UI__ Generate fantastic images with the latest AI models for FREE!
|
| 11 |
+
|
| 12 |
+

|
| 13 |
+
"""
|
| 14 |
+
#article of app
|
| 15 |
+
article = \ """
|
| 16 |
+
<p style='text-align: center'>
|
| 17 |
+
__Examples__
|
| 18 |
+
</p>
|
| 19 |
+
|
| 20 |
+

|
| 21 |
+
"""
|
| 22 |
+
|
| 23 |
+
gr.Interface.load("models/stabilityai/stable-diffusion-xl-base-1.0", title=title, description=description, article=article).launch()
|