Unverified Commit 4ed76377 authored by abhishek thakur's avatar abhishek thakur Committed by GitHub
Browse files

Fix example in Wav2Vec2 documentation (#10096)

* Fix example in Wav2Vec2 documentation

* fix style
parent bf1a06a4
...@@ -768,7 +768,8 @@ class Wav2Vec2ForCTC(Wav2Vec2PreTrainedModel): ...@@ -768,7 +768,8 @@ class Wav2Vec2ForCTC(Wav2Vec2PreTrainedModel):
Example:: Example::
>>> from transformers import Wav2Vec2Tokenizer, Wav2Vec2Model >>> import torch
>>> from transformers import Wav2Vec2Tokenizer, Wav2Vec2ForCTC
>>> from datasets import load_dataset >>> from datasets import load_dataset
>>> import soundfile as sf >>> import soundfile as sf
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment