Nick088 commited on
Commit
2ef1e5c
·
verified ·
1 Parent(s): b60450b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -291,6 +291,8 @@ def generate_subtitles(audio_file_path, prompt, language, auto_detect_language):
291
  temperature=0.0,
292
  )
293
 
 
 
294
  srt_content = create_srt_from_json(transcription_json)
295
  return srt_content
296
 
 
291
  temperature=0.0,
292
  )
293
 
294
+ transcription_json = json.loads(transcription_json.to_json())
295
+
296
  srt_content = create_srt_from_json(transcription_json)
297
  return srt_content
298