From 2a37390fed873f0c6d645ca234eab2bc0c9b16e5 Mon Sep 17 00:00:00 2001 From: Guillaume Klein Date: Tue, 18 Jul 2023 15:08:53 +0200 Subject: [PATCH] Minor reformatting in code snippet --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 54d74450..44685e6f 100644 --- a/README.md +++ b/README.md @@ -165,12 +165,12 @@ Models can also be converted from the code. See the [conversion API](https://ope 1. Directly load the model from a local directory: ```python -model = faster_whisper.WhisperModel('whisper-large-v2-ct2') +model = faster_whisper.WhisperModel("whisper-large-v2-ct2") ``` 2. [Upload your model to the Hugging Face Hub](https://huggingface.co/docs/transformers/model_sharing#upload-with-the-web-interface) and load it from its name: ```python -model = faster_whisper.WhisperModel('username/whisper-large-v2-ct2') +model = faster_whisper.WhisperModel("username/whisper-large-v2-ct2") ``` ## Comparing performance against other implementations