Skip to content

Commit

Permalink
[ADD] creation of .srt files
Browse files Browse the repository at this point in the history
  • Loading branch information
BenCretois committed Oct 26, 2023
1 parent 8c82318 commit 4aa3b3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 4aa3b3f

Please sign in to comment.