gina9726 commited on
Commit
2fce180
·
verified ·
1 Parent(s): 56a1b99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -21,9 +21,9 @@ def load_v2t_samples(data_root):
21
  return sample_videos, idx2sid
22
 
23
  def load_t2v_samples(data_root):
24
- sample_text = ['cut the sausage', 'stir vegetables into salmon', 'rinse cutting board']
25
- #idx2sid = {0: 2119, 1: 1730, 2: 1276}
26
- idx2sid = {0: 2119, 2: 1276}
27
  return sample_text, idx2sid
28
 
29
  def format_pred(pred, gt):
 
21
  return sample_videos, idx2sid
22
 
23
  def load_t2v_samples(data_root):
24
+ #sample_text = ['cut the sausage', 'stir vegetables into salmon', 'rinse cutting board']
25
+ sample_text = ['cut the sausage', 'rinse cutting board']
26
+ idx2sid = {0: 2119, 1: 1730, 2: 1276}
27
  return sample_text, idx2sid
28
 
29
  def format_pred(pred, gt):