SaladSlayer00 commited on
Commit
34a9861
·
1 Parent(s): ee94eb6

the REAL APP

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -34,9 +34,8 @@ def process_frame(webcam_image):
34
  # Gradio interface
35
  demo = gr.Interface(
36
  fn=process_frame,
37
- inputs=gr.Image(sources="webcam", streaming=True, interactive=True),
38
- outputs="image",
39
- live=True
40
  )
41
 
42
  demo.launch()
 
34
  # Gradio interface
35
  demo = gr.Interface(
36
  fn=process_frame,
37
+ inputs=gr.inputs.Image(source="webcam", tool="editor"),
38
+ outputs="image"
 
39
  )
40
 
41
  demo.launch()