Skip to content

Commit

Permalink
Minor reformatting in code snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumekln committed Jul 18, 2023
1 parent 3b4a6aa commit 2a37390
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2a37390

Please sign in to comment.