fffiloni commited on
Commit
09f1a35
·
verified ·
1 Parent(s): 052ee5f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def infer(video_in):
34
  print(f"VIDEO IN PATH: {video_in}")
35
 
36
  # Execute the inference command
37
- command = ['python', 'inference_from_video.py', '--original_args', 'ckpt/vta-ldm-clip4clip-v-large/summary.jsonl', '--model', 'ckpt/vta-ldm-clip4clip-v-large/audioldm-s-full.ckpt', '--data_path', video_in]
38
  process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, bufsize=1)
39
 
40
  # Create threads to handle stdout and stderr
 
34
  print(f"VIDEO IN PATH: {video_in}")
35
 
36
  # Execute the inference command
37
+ command = ['python', 'inference_from_video.py', '--original_args', 'ckpt/vta-ldm-clip4clip-v-large/summary.jsonl', '--model', 'ckpt/vta-ldm-clip4clip-v-large/pytorch_model_2.bin', '--data_path', video_in]
38
  process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, bufsize=1)
39
 
40
  # Create threads to handle stdout and stderr