File size: 340 Bytes
c9a8352
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import gradio as gr
from gradio.mix import Series

description = "Text to image"
title = "Image generation"

interface = gr.Interface.load("huggingface/stabilityai/stable-diffusion-xl-base-1.0",
            description=description,
            title = title,
            inputs=gr.Textbox(lines=10, label="Input Text")
)

interface.launch()