File size: 318 Bytes
3f150f7
 
 
 
 
 
 
 
 
 
 
 
73cb336
3f150f7
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import gradio as gr

def paint_canvas(image):
    return image

iface = gr.Interface(
    fn=paint_canvas,
    inputs="sketchpad",
    outputs="image",
    live=True,
    title="Paint Canvas",
    description="Draw something on the canvas and see it displayed below!",
    theme="Felguk/Felguk_theme"
)

iface.launch()