Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,6 @@ def speech_to_text(audio_path, whisper_model):
|
|
51 |
try:
|
52 |
|
53 |
df = pd.DataFrame(columns = ['start','end','text'])
|
54 |
-
srt_path = str(audio_path.replace(file_ending, ".wav")) + ".srt"
|
55 |
subs = pysrt.open(srt_path)
|
56 |
|
57 |
|
|
|
51 |
try:
|
52 |
|
53 |
df = pd.DataFrame(columns = ['start','end','text'])
|
|
|
54 |
subs = pysrt.open(srt_path)
|
55 |
|
56 |
|