Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,4 +17,4 @@ def fun(a):
|
|
17 |
return pred[0][0][0],pred[1][0][0],np.argmax(pred_eth)
|
18 |
|
19 |
|
20 |
-
gr.Interface(fn=fun, inputs=
|
|
|
17 |
return pred[0][0][0],pred[1][0][0],np.argmax(pred_eth)
|
18 |
|
19 |
|
20 |
+
gr.Interface(fn=fun, inputs=gr.inputs.Image(shape=(48,48),image_mode='L',type='numpy',invert_colors=False), outputs=["text","text","text"]).launch()
|