rafaym commited on
Commit
78230ce
·
1 Parent(s): 7ec9149

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- #demo = gr.Interface(fn=input_img, inputs="image", outputs="label")
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))