Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
pytorch
/
EfficientNet
like
1
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
akhaliq
HF staff
commited on
Feb 25, 2022
Commit
d9b4d82
Β·
1 Parent(s):
c8fcfda
Update app.py
Browse files
Files changed (1)
hide
show
app.py
+1
-1
app.py
CHANGED
Viewed
@@ -36,4 +36,4 @@ def inference(img):
36
37
return results
38
39
-
gr.Interface(inference,"
image
","text").launch()
36
37
return results
38
39
+
gr.Interface(inference,
gr.inputs.Image(type=
"
pil
"
)
,"text").launch()