fix
Browse files
run.py
CHANGED
@@ -8,9 +8,9 @@ def snap(image, video):
|
|
8 |
|
9 |
demo = gr.Interface(
|
10 |
snap,
|
11 |
-
[gr.Video(
|
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)
|