Spaces:
Running
Running
TenPoisk
commited on
Commit
•
c8b55ef
1
Parent(s):
fb4b403
Create sd-xl.py
Browse files
sd-xl.py
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#import library
|
2 |
+
import gradio as gr
|
3 |
+
|
4 |
+
#title of app
|
5 |
+
title = "🌏 Stable Diffusion XL"
|
6 |
+
|
7 |
+
#description of app
|
8 |
+
description = "This space is for generating images from text with the Stable Diffusion XL model!"
|
9 |
+
|
10 |
+
#article of app
|
11 |
+
article = """
|
12 |
+
<p style='text-align: center'>
|
13 |
+
<a href='https://hf.co/CofAI' target='_blank'>CofAI Group</a>
|
14 |
+
</p>
|
15 |
+
"""
|
16 |
+
|
17 |
+
gr.Interface.load("models/stabilityai/stable-diffusion-xl-base-1.0", title=title, description=description, article=article).launch()
|