akhaliq HF staff commited on
Commit
2fb6514
1 Parent(s): 21c9dda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -165,4 +165,4 @@ def inference(img1,img2):
165
  # Print predictions
166
  return 'Distance = %f' %(dist),'Similarity = %f' %(sim)
167
 
168
- gr.Interface(inference,[gr.inputs.Image(type="filename"),gr.inputs.Image(type="filename")],["text","text"]).launch()
 
165
  # Print predictions
166
  return 'Distance = %f' %(dist),'Similarity = %f' %(sim)
167
 
168
+ gr.Interface(inference,[gr.inputs.Image(type="filepath"),gr.inputs.Image(type="filepath")],["text","text"]).launch()