diff --git a/README.md b/README.md index 0460255..cc5d0bd 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ A user interface to make the use of [whisper](https://github.com/openai/whisper) very easy. +WhisperUI returnes .srt files (i.e. time-stamped translation / transcription). + # How to use it Create the docker image: diff --git a/app.py b/app.py index b5d1ae0..d2ab1e2 100644 --- a/app.py +++ b/app.py @@ -9,8 +9,8 @@ import io UPLOAD_FOLDER = tempfile.mkdtemp(dir=os.getcwd()) -OUTPUT_TRANSLATION_OBJECT = "translation.txt" -OUTPUT_TRANSCRIPTION_OBJECT = "transcription.txt" +OUTPUT_TRANSLATION_OBJECT = "translation.srt" +OUTPUT_TRANSCRIPTION_OBJECT = "transcription.srt" # Define instructions and error messages instr = [