abidlabs HF staff commited on
Commit
f5937eb
β€’
1 Parent(s): 2c16735

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,5 +43,5 @@ def predict(input):
43
  return {LABELS[i]: v.item() for i, v in zip(indices, values)}
44
 
45
 
46
- interface = gr.Interface(predict, inputs='sketchpad', outputs='label', theme="default", css=".footer{display:none !important}", live=True)
47
  interface.launch(debug=True)
 
43
  return {LABELS[i]: v.item() for i, v in zip(indices, values)}
44
 
45
 
46
+ interface = gr.Interface(predict, inputs=gr.templates.Sketchpad(label="Draw Here"), outputs=gr.Label(label="Guess"), theme="default", css=".footer{display:none !important}", live=True)
47
  interface.launch(debug=True)