YiHuan commited on
Commit
95ca169
1 Parent(s): 93d3aa5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -57,8 +57,8 @@ def queryimgage(text):
57
  for i in range(xcount):
58
  #print("id:%s,url:%s,score:%s"%(ids[i],documents[i],distances[i]))
59
  html=html +"<tr>\
60
- <td><img src='"+documents[i]+"' width=640></td>\
61
- <td>"+ str(distances[i])+"</td>"
62
  html=html+"</table>"
63
  return html
64
 
 
57
  for i in range(xcount):
58
  #print("id:%s,url:%s,score:%s"%(ids[i],documents[i],distances[i]))
59
  html=html +"<tr>\
60
+ <td><img src='"+documents[xcount-1-i]+"' width=640></td>\
61
+ <td>"+ str(distances[xcount-1-i])+"</td>"
62
  html=html+"</table>"
63
  return html
64