20065320rp commited on
Commit
e3f748e
1 Parent(s): 45c8ed1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -3
app.py CHANGED
@@ -55,11 +55,20 @@ def PPE(image):
55
  #iface.launch()
56
 
57
 
 
 
 
 
 
 
 
 
 
 
58
  demo = gr.Interface(
59
  fn=PPE,
60
- inputs=gr.inputs.Image(source="webcam", tool=None),
61
  outputs="image",
62
  )
63
  demo.launch()
64
-
65
-
 
55
  #iface.launch()
56
 
57
 
58
+ #demo = gr.Interface(
59
+ # fn=PPE,
60
+ # inputs=gr.inputs.Image(source="webcam", tool=None),
61
+ # outputs="image",
62
+ #)
63
+ #demo.launch()
64
+
65
+
66
+ #inputs=[gr.Image(label="Input Image", source="webcam")
67
+
68
  demo = gr.Interface(
69
  fn=PPE,
70
+ inputs=[gr.Image(label="Input Image", source="webcam")],
71
  outputs="image",
72
  )
73
  demo.launch()
74
+