Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Bilic
/
visionB
like
0
Sleeping
App
Files
Files
Community
21e80f4
visionB
/
app_old_old.py
Simba
WIP
a7a04f0
about 1 year ago
raw
Copy download link
history
blame
Safe
243 Bytes
import
gradio
as
gr
def
snap
(
image, video
):
return
[image, video]
demo = gr.Interface(
snap,
[gr.Image(sources=[
"webcam"
]), gr.Video(sources=[
"webcam"
])],
[
"image"
,
"video"
],
)
if
__name__ ==
"__main__"
:
demo.launch()