Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
noamholz
/
gra
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
816c1e3
gra
/
run.py
noamholz
fix?
816c1e3
3 months ago
raw
Copy download link
history
blame
Safe
225 Bytes
import
gradio
as
gr
def
snap
(
image, video
):
return
[image, video]
demo = gr.Interface(
snap,
[gr.Image(sources=[
'webcam'
])],
[
"image"
,
"video"
],
)
if
__name__ ==
"__main__"
:
demo.launch(share=
False
)