TenPoisk
commited on
Commit
•
8d16490
1
Parent(s):
bcae583
Create sd-1-5.py
Browse files
sd-1-5.py
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#import library
|
2 |
+
import gradio as gr
|
3 |
+
|
4 |
+
#title of app
|
5 |
+
title = "🐶 Stable Diffusion 1.5"
|
6 |
+
|
7 |
+
#description of app
|
8 |
+
description = "This space is for generating images from text with the Stable Diffusion 1.5 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/runwayml/stable-diffusion-v1-5", title=title, description=description, article=article).launch()
|