Skip to content

Commit

Permalink
Tweaked logs
Browse files Browse the repository at this point in the history
  • Loading branch information
beveradb committed Nov 19, 2023
1 parent 9f7089b commit e887096
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lyrics_transcriber/transcriber.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(
log_level=logging.DEBUG,
log_formatter=None,
transcription_model="medium",
llm_model="gpt-3.5-turbo-1106",
llm_model="gpt-4-1106-preview",
render_video=False,
video_resolution="360p",
video_background_image=None,
Expand Down Expand Up @@ -743,7 +743,7 @@ def transcribe(self):
self.outputs["transcription_data_dict"] = json.load(cache_file)
return

self.logger.debug(f"no cached transcription file found, running whisper transcribe")
self.logger.debug(f"no cached transcription file found, running whisper transcribe with model: {self.transcription_model}")
audio = whisper.load_audio(self.audio_filepath)
model = whisper.load_model(self.transcription_model, device="cpu")
result = whisper.transcribe(model, audio, language="en")
Expand Down
2 changes: 1 addition & 1 deletion lyrics_transcriber/utils/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def main():

parser.add_argument(
"--llm_model",
default="gpt-3.5-turbo-1106",
default="gpt-4-1106-preview",
help="Optional: LLM model to use (currently only supports OpenAI chat completion models, e.g. gpt-4-1106-preview). Default: gpt-3.5-turbo-1106",
)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "lyrics-transcriber"
version = "0.12.3"
version = "0.12.4"
description = "Automatically create synchronised lyrics files in ASS and MidiCo LRC formats with word-level timestamps, using Whisper and lyrics from Genius and Spotify"
authors = ["Andrew Beveridge <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit e887096

Please sign in to comment.