fffiloni commited on
Commit
e1a2379
1 Parent(s): 6800bce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -144,7 +144,7 @@ def infer(video_in):
144
  '--original_args', 'ckpt/vta-ldm-clip4clip-v-large/summary.jsonl',
145
  '--model', 'ckpt/vta-ldm-clip4clip-v-large/pytorch_model_2.bin',
146
  '--data_path', folder_path,
147
- '--max_duration', video_duration
148
  ]
149
  process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, bufsize=1)
150
 
 
144
  '--original_args', 'ckpt/vta-ldm-clip4clip-v-large/summary.jsonl',
145
  '--model', 'ckpt/vta-ldm-clip4clip-v-large/pytorch_model_2.bin',
146
  '--data_path', folder_path,
147
+ '--max_duration', f"{video_duration}"
148
  ]
149
  process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, bufsize=1)
150