mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-21 02:19:59 +08:00
8 lines
146 B
Python
8 lines
146 B
Python
import gradio as gr
|
|
import numpy as np
|
|
|
|
def snap(image):
|
|
return image
|
|
|
|
gr.Interface(snap, gr.inputs.Webcam(shape=(50,100)), "image").launch()
|