LucyintheSky
commited on
Commit
•
586bf53
1
Parent(s):
7000e84
Update app.py
Browse files
app.py
CHANGED
@@ -6,5 +6,5 @@ crop_pipe = pipeline("image-classification", model="LucyintheSky/pose-estimation
|
|
6 |
def classify(img):
|
7 |
return crop_pipe(img)
|
8 |
|
9 |
-
iface = gr.Interface(fn=classify, inputs=gr.Image(), outputs="text")
|
10 |
iface.launch()
|
|
|
6 |
def classify(img):
|
7 |
return crop_pipe(img)
|
8 |
|
9 |
+
iface = gr.Interface(fn=classify, inputs=gr.Image(type='filepath'), outputs="text")
|
10 |
iface.launch()
|