RobCaamano commited on
Commit
b57f888
1 Parent(s): 08390f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,11 +4,11 @@ from main import main as process_video
4
  def run_pipeline(youtube_url):
5
  # Run the main processing function from your script
6
  # This function should save the final video in the '/translated/' directory
7
- process_video(youtube_url)
8
 
9
  # Construct the path to the final video
10
  # Assuming the video is named 'final_video.mp4' and stored in '/translated/'
11
- final_video_path = './translated/final_video.mp4'
12
 
13
  # Return the path for Gradio to display
14
  return final_video_path
 
4
  def run_pipeline(youtube_url):
5
  # Run the main processing function from your script
6
  # This function should save the final video in the '/translated/' directory
7
+ final_video_path = process_video(youtube_url)
8
 
9
  # Construct the path to the final video
10
  # Assuming the video is named 'final_video.mp4' and stored in '/translated/'
11
+
12
 
13
  # Return the path for Gradio to display
14
  return final_video_path