Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=gr.Sketchpad(label="Draw Here"), outputs=gr.Label(label="Guess"), 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)
|