Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -39,5 +39,5 @@ def predict(im):
|
|
39 |
return {LABELS[i]: v.item() for i, v in zip(indices, values)}
|
40 |
|
41 |
|
42 |
-
interface = gr.Interface(predict, inputs='sketchpad', outputs='label')
|
43 |
interface.launch(debug=True)
|
|
|
39 |
return {LABELS[i]: v.item() for i, v in zip(indices, values)}
|
40 |
|
41 |
|
42 |
+
interface = gr.Interface(predict, inputs='sketchpad', outputs='label', live=True)
|
43 |
interface.launch(debug=True)
|