SPACERUNNER99 commited on
Commit
6abbe50
·
verified ·
1 Parent(s): 285494b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -51,7 +51,7 @@ def main(url, clip_type, progress=gr.Progress()):
51
  progress(35, desc="transcribe")
52
  subtitle_file = translate(srt_list)
53
  progress(55, desc="translate")
54
- output_video_file = video_edit(subtitle_file, video, input_audio= "audio.mp3")
55
  progress(100, desc="finish")
56
  os.remove(subtitle_file)
57
  else:
@@ -69,7 +69,6 @@ def main(url, clip_type, progress=gr.Progress()):
69
  os.remove(subtitle_file)
70
  return output_video_file
71
 
72
-
73
  with gr.Blocks() as demo:
74
  gr.Markdown("Start typing below and then click **Run** to see the output.")
75
  with gr.Column():
 
51
  progress(35, desc="transcribe")
52
  subtitle_file = translate(srt_list)
53
  progress(55, desc="translate")
54
+ output_video_file = dub(subtitle_file)
55
  progress(100, desc="finish")
56
  os.remove(subtitle_file)
57
  else:
 
69
  os.remove(subtitle_file)
70
  return output_video_file
71
 
 
72
  with gr.Blocks() as demo:
73
  gr.Markdown("Start typing below and then click **Run** to see the output.")
74
  with gr.Column():