Spaces:
Runtime error
Runtime error
| #import library | |
| import gradio as gr | |
| #title of app | |
| title = "π¨βπ Kandinsky 2.1" | |
| #description of app | |
| description = "This space is for generating images from text with the Kandinsky 2.1 model!" | |
| #article of app | |
| article = """ | |
| <p style='text-align: center'> | |
| <a href='https://hf.co/CofAI' target='_blank'>CofAI Group</a> | |
| </p> | |
| """ | |
| gr.Interface.load("models/kandinsky-community/kandinsky-2-1", title=title, description=description, article=article, theme = "Soft").launch() |