noamholz commited on
Commit
f1fe7a3
·
1 Parent(s): 336b24c
Files changed (1) hide show
  1. run.py +2 -2
run.py CHANGED
@@ -8,9 +8,9 @@ def snap(image, video):
8
 
9
  demo = gr.Interface(
10
  snap,
11
- [gr.Video(source="webcam")],
12
  ["image", "video"],
13
  )
14
 
15
  if __name__ == "__main__":
16
- demo.launch()
 
8
 
9
  demo = gr.Interface(
10
  snap,
11
+ [gr.Image(), gr.Video()],
12
  ["image", "video"],
13
  )
14
 
15
  if __name__ == "__main__":
16
+ demo.launch(share=True)