Spaces:
Runtime error
Runtime error
TenPoisk
commited on
Commit
Β·
981bb3e
1
Parent(s):
e45fa38
Create kandinsky-2-2.py
Browse files- kandinsky-2-2.py +17 -0
kandinsky-2-2.py
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#import library
|
2 |
+
import gradio as gr
|
3 |
+
|
4 |
+
#title of app
|
5 |
+
title = "π¨βπ Kandinsky 2.2"
|
6 |
+
|
7 |
+
#description of app
|
8 |
+
description = "This space is for generating images from text with the Kandinsky 2.2 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/kandinsky-community/kandinsky-2-2-decoder-inpaint", title=title, description=description, article=article).launch()
|