File size: 229 Bytes
560b8c7
 
 
 
 
 
 
1
2
3
4
5
6
7
import gradio as gr

def sketch_to_shoes(img):
  # Implement sketch recognition model here...
  # Return labels and confidences as dictionary

iface = gr.Interface(fn=sketch_to_shoes, inputs="sketchpad", outputs="label").launch()