dawood HF Staff commited on
Commit
feeca12
·
1 Parent(s): 66ff3af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -38,11 +38,9 @@ def predict(im):
38
 
39
  return {LABELS[i]: v.item() for i, v in zip(indices, values)}
40
 
41
- sketchpad = gr.Image(label="Sketchpad", source="canvas"),
42
-
43
  interface = gr.Interface(
44
  predict,
45
- inputs=sketchpad,
46
  outputs='label',
47
  theme="huggingface",
48
  title="Sketch Recognition",
 
38
 
39
  return {LABELS[i]: v.item() for i, v in zip(indices, values)}
40
 
 
 
41
  interface = gr.Interface(
42
  predict,
43
+ inputs=gr.Image(label="Sketchpad", source="canvas"),
44
  outputs='label',
45
  theme="huggingface",
46
  title="Sketch Recognition",