ANNAS BlackHat commited on
Commit
c697352
1 Parent(s): 0ea8b82

using table

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def show_result(image_url, min_score=0.7):
30
  for i, raw in enumerate(result['result']):
31
  detail = raw["detail"]
32
  html += f'''
33
- <td>
34
  <img src="{raw["url"]}" width="300"/>
35
  <p>{raw["similarity"] * 100}%</p>
36
  <p> Title: {detail["title"]} </p>
 
30
  for i, raw in enumerate(result['result']):
31
  detail = raw["detail"]
32
  html += f'''
33
+ <td style="vertical-align:top">
34
  <img src="{raw["url"]}" width="300"/>
35
  <p>{raw["similarity"] * 100}%</p>
36
  <p> Title: {detail["title"]} </p>