Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,8 +5,8 @@ def snap(image, video):
|
|
5 |
|
6 |
demo = gr.Interface(
|
7 |
snap,
|
8 |
-
[gr.
|
9 |
-
["
|
10 |
)
|
11 |
|
12 |
if __name__ == "__main__":
|
|
|
5 |
|
6 |
demo = gr.Interface(
|
7 |
snap,
|
8 |
+
[gr.Video(sources=["webcam"])],
|
9 |
+
["video"],
|
10 |
)
|
11 |
|
12 |
if __name__ == "__main__":
|