Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
|