Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
LucyintheSky
/
product-photo-classifier
like
3
Running
App
Files
Files
Community
LucyintheSky
commited on
Dec 27, 2023
Commit
163ec32
•
1 Parent(s):
ed246fc
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+7
-0
app.py
ADDED
Viewed
@@ -0,0 +1,7 @@
1
+
import gradio as gr
2
+
3
+
def classify(img):
4
+
return img
5
+
6
+
iface = gr.Interface(fn=classify, inputs=gr.Image(), outputs="text")
7
+
iface.launch()