File size: 374 Bytes
f4ef203
 
 
 
 
fc494ea
 
 
 
 
 
 
 
f4ef203
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env python

import gradio as gr

with gr.Blocks() as demo:
    image = gr.Image(label="image", height=300)
    prompt = gr.Textbox(label="prompt")
    gr.Examples(
        examples=[
            ["https://huggingface.co/Adapter/t2iadapter/resolve/main/figs_SDXLV1.0/org_sketch.png", "aaaa"],
        ],
        inputs=[image, prompt],
    )
demo.queue().launch()