LucyintheSky commited on
Commit
079c515
·
verified ·
1 Parent(s): 9c8f552

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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()