Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def extract_audio(video_path):
|
|
14 |
except Exception as e:
|
15 |
return str(e)
|
16 |
|
17 |
-
def transcribe_audio_to_srt(audio_path, srt_file=out_put.srt):
|
18 |
|
19 |
|
20 |
model = whisper.load_model("base.en")
|
|
|
14 |
except Exception as e:
|
15 |
return str(e)
|
16 |
|
17 |
+
def transcribe_audio_to_srt(audio_path, srt_file="out_put.srt"):
|
18 |
|
19 |
|
20 |
model = whisper.load_model("base.en")
|