Jeffgold commited on
Commit
0361d10
·
1 Parent(s): 8c0054e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -100,7 +100,7 @@ def convert_video(video_file, quality, aspect_ratio, video_url):
100
 
101
  def convert_video(video_file, quality, aspect_ratio, video_url):
102
  # Ensure either a file or a URL is provided
103
- if not video_file and not video_url:
104
  raise ValueError("Please provide either a video file or a video URL.")
105
 
106
  input_path = get_input_path(video_file, video_url)
 
100
 
101
  def convert_video(video_file, quality, aspect_ratio, video_url):
102
  # Ensure either a file or a URL is provided
103
+ if not video_file and not video_url:
104
  raise ValueError("Please provide either a video file or a video URL.")
105
 
106
  input_path = get_input_path(video_file, video_url)