artificialguybr commited on
Commit
e4f2be5
1 Parent(s): 42c5043

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -83,7 +83,6 @@ def process_video(video, high_quality, target_language):
83
  # Debugging Step 3: Check if output video exists
84
  if not os.path.exists("output_video.mp4"):
85
  return "Error: output_video.mp4 was not generated."
86
-
87
  return "output_video.mp4" # Return the file path directly
88
  except Exception as e:
89
  return {"error": f"An unexpected error occurred: {str(e)}"} # Keep the error as a dictionary
 
83
  # Debugging Step 3: Check if output video exists
84
  if not os.path.exists("output_video.mp4"):
85
  return "Error: output_video.mp4 was not generated."
 
86
  return "output_video.mp4" # Return the file path directly
87
  except Exception as e:
88
  return {"error": f"An unexpected error occurred: {str(e)}"} # Keep the error as a dictionary