isaakkamau commited on
Commit
9563318
·
1 Parent(s): 061f1ce
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -7,7 +7,7 @@ import subprocess
7
  import whisper
8
  from whisper.utils import write_vtt
9
 
10
- model = whisper.load_model("small")
11
 
12
  def video2mp3(video_file, output_ext="mp3"):
13
  filename, ext = os.path.splitext(video_file)
@@ -40,7 +40,7 @@ def translate(input_video):
40
 
41
 
42
 
43
- title = "Add Text/Caption to your YouTube Shorts - MultiLingual"
44
 
45
  block = gr.Blocks()
46
 
@@ -75,4 +75,4 @@ with block:
75
  </div>
76
  ''')
77
 
78
- block.launch(debug = True)
 
7
  import whisper
8
  from whisper.utils import write_vtt
9
 
10
+ model = whisper.load_model("medium")
11
 
12
  def video2mp3(video_file, output_ext="mp3"):
13
  filename, ext = os.path.splitext(video_file)
 
40
 
41
 
42
 
43
+ title = "Add Caption to your Videos - MultiLingual"
44
 
45
  block = gr.Blocks()
46
 
 
75
  </div>
76
  ''')
77
 
78
+ block.launch(debug = True )