Spaces:
Runtime error
Runtime error
sindhuhegde
commited on
Commit
·
68f04c4
1
Parent(s):
59ce1e2
Update app.py
Browse files
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 |
-
|
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):
|