Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -53,5 +53,5 @@ def predict_features(image_path):
|
|
53 |
def greet(image):
|
54 |
return str(predict_features(image))
|
55 |
|
56 |
-
demo = gr.Interface(fn=greet, inputs=gr.Image(), outputs="text")
|
57 |
demo.launch()
|
|
|
53 |
def greet(image):
|
54 |
return str(predict_features(image))
|
55 |
|
56 |
+
demo = gr.Interface(fn=greet, inputs=gr.Image(type='filepath'), outputs="text")
|
57 |
demo.launch()
|