z2learn commited on
Commit
fed6159
Β·
verified Β·
1 Parent(s): 4fc3127

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -4,7 +4,7 @@ import tempfile
4
  import os
5
  from pathlib import Path
6
 
7
- MODEL_SIZE = "small" # Change to "base", "small", "medium", or "large"
8
 
9
  class GradioSRTGenerator:
10
  def __init__(self):
@@ -75,7 +75,8 @@ def create_ui():
75
 
76
  with gr.Row():
77
  with gr.Column():
78
- input_video = gr.Video(label="Upload Video", source="upload", interactive=True)
 
79
  generate_btn = gr.Button("🎯 Generate SRT", variant="primary")
80
  status_text = gr.Textbox(label="Status", interactive=False, show_copy_button=True)
81
 
 
4
  import os
5
  from pathlib import Path
6
 
7
+ MODEL_SIZE = "medium" # switched from "small" to "medium"
8
 
9
  class GradioSRTGenerator:
10
  def __init__(self):
 
75
 
76
  with gr.Row():
77
  with gr.Column():
78
+ - input_video = gr.Video(label="Upload Video", source="upload", interactive=True)
79
+ + input_video = gr.Video(label="Upload Video")
80
  generate_btn = gr.Button("🎯 Generate SRT", variant="primary")
81
  status_text = gr.Textbox(label="Status", interactive=False, show_copy_button=True)
82