Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,8 +19,8 @@ def func_classi(img):
|
|
19 |
image=gr.inputs.Image(shape=(192,192))
|
20 |
label=gr.outputs.Label()
|
21 |
examples=('Black people','White people')
|
22 |
-
demo = gr.Interface(fn=func_classi, inputs="image", outputs="label")
|
23 |
-
|
24 |
demo.launch(inline=False)
|
25 |
|
26 |
#image=gr.inputs.Image(shape=(192,192))
|
|
|
19 |
image=gr.inputs.Image(shape=(192,192))
|
20 |
label=gr.outputs.Label()
|
21 |
examples=('Black people','White people')
|
22 |
+
#demo = gr.Interface(fn=func_classi, inputs="image", outputs="label")
|
23 |
+
demo = gr.Interface(fn=input_img, inputs="image", outputs="label")
|
24 |
demo.launch(inline=False)
|
25 |
|
26 |
#image=gr.inputs.Image(shape=(192,192))
|