RandomPersonRR commited on
Commit
267d0b1
Β·
verified Β·
1 Parent(s): de205c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,7 +9,7 @@ import gradio as gr
9
  os.system("chmod +x fdkaac") # Ensure fdkaac is executable
10
 
11
  accel = 'auto'
12
- video_base_opts = ['-crf', '63', '-c:v', 'libx264', '-tune', 'zerolatency']
13
 
14
  UPLOAD_FOLDER = 'uploads'
15
  CONVERTED_FOLDER = 'converted'
@@ -156,7 +156,7 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="rose")) as demo:
156
 
157
  with gr.Group():
158
  with gr.Row():
159
- use_youtube = gr.Checkbox(label="πŸ”— Use YouTube URL (experimental)", value=False)
160
  youtube_url = gr.Textbox(label="YouTube URL", placeholder="Paste YouTube URL here")
161
  video_file = gr.File(label="πŸ“ Upload Video File")
162
 
 
9
  os.system("chmod +x fdkaac") # Ensure fdkaac is executable
10
 
11
  accel = 'auto'
12
+ video_base_opts = ['-crf', '63', '-c:v', 'libx264', '-tune', 'zerolatency', '-movflags', '+faststart']
13
 
14
  UPLOAD_FOLDER = 'uploads'
15
  CONVERTED_FOLDER = 'converted'
 
156
 
157
  with gr.Group():
158
  with gr.Row():
159
+ use_youtube = gr.Checkbox(label="πŸ”— Use YouTube URL (If ran locally, then it works.)", value=False)
160
  youtube_url = gr.Textbox(label="YouTube URL", placeholder="Paste YouTube URL here")
161
  video_file = gr.File(label="πŸ“ Upload Video File")
162