akhaliq HF staff commited on
Commit
21c9dda
1 Parent(s): 9984c3a

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="file"),gr.inputs.Image(type="file")],["text","text"]).launch()
 
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()