Mbonea commited on
Commit
ca16d64
1 Parent(s): 0c7ccc5

what did I get?

Browse files
Files changed (1) hide show
  1. App/Worker.py +1 -1
App/Worker.py CHANGED
@@ -66,7 +66,7 @@ def copy_remotion_app(src: str, dest: str):
66
  def unsilence(directory: str):
67
  output_dir = os.path.join(directory, "out/video.mp4")
68
  shortered_dir = os.path.join(directory, "out/temp.mp4")
69
- os.system(f"unsilence {output_dir} {shortered_dir} -y")
70
  os.remove(output_dir)
71
  os.rename(shortered_dir, output_dir)
72
 
 
66
  def unsilence(directory: str):
67
  output_dir = os.path.join(directory, "out/video.mp4")
68
  shortered_dir = os.path.join(directory, "out/temp.mp4")
69
+ os.system(f"pipx run unsilence {output_dir} {shortered_dir} -y")
70
  os.remove(output_dir)
71
  os.rename(shortered_dir, output_dir)
72