import gradio as gr def sketch_recognition(img): pass gr.Interface(fn=sketch_recognition, inputs="sketchpad", outputs="label").launch()