fix?
Browse files
run.py
CHANGED
|
@@ -8,7 +8,7 @@ def snap(image, video):
|
|
| 8 |
|
| 9 |
demo = gr.Interface(
|
| 10 |
snap,
|
| 11 |
-
[gr.
|
| 12 |
["image", "video"],
|
| 13 |
)
|
| 14 |
|
|
|
|
| 8 |
|
| 9 |
demo = gr.Interface(
|
| 10 |
snap,
|
| 11 |
+
[gr.Video(source="webcam")],
|
| 12 |
["image", "video"],
|
| 13 |
)
|
| 14 |
|