Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
JavierIA
/
gccopen
like
1
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
d723038
gccopen
/
app.py
Javier Flores
asa
d723038
over 2 years ago
raw
Copy download link
history
blame
193 Bytes
import
gradio
as
gr
def
predict
(
image
):
return
image
inp = gr.inputs.Image(source=
"webcam"
, shape=(
224
,
224
))
iface = gr.Interface(fn=predict, inputs=
"text"
, outputs=
"text"
)
iface.launch()