sindhuhegde commited on
Commit
68f04c4
·
1 Parent(s): 59ce1e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -134,12 +134,11 @@ def plot_ranked_videos(all_labels, scores, data, key_list, val_list, row=2, col=
134
  </video>
135
  <center> (%s - %s) </center>
136
  </td>""" % (color, word, start_time, end_time, vid_src, perm[idx], fname))
137
- idx+=1
138
  if c==col-1:
139
  html+="</tr>"
140
  html+="""</table>
141
  </div>"""
142
- # print(html)
143
  return html
144
 
145
  def plot_query(query_idx, data, key_list, val_list, data_path="videos/", fps=15, target_label=0):
 
134
  </video>
135
  <center> (%s - %s) </center>
136
  </td>""" % (color, word, start_time, end_time, vid_src, perm[idx], fname))
137
+ idx+=1
138
  if c==col-1:
139
  html+="</tr>"
140
  html+="""</table>
141
  </div>"""
 
142
  return html
143
 
144
  def plot_query(query_idx, data, key_list, val_list, data_path="videos/", fps=15, target_label=0):