vasista22 commited on
Commit
6523f51
·
1 Parent(s): 883620c

inference_code_snippet_added

Browse files
Files changed (1) hide show
  1. README.md +0 -1
README.md CHANGED
@@ -47,7 +47,6 @@ In order to infer a single audio file using this model, the following code snipp
47
 
48
  >>> # path to the audio file to be transcribed
49
  >>> audio = "/path/to/audio.format"
50
-
51
  >>> device = "cuda:0" if torch.cuda.is_available() else "cpu"
52
 
53
  >>> transcribe = pipeline(task="automatic-speech-recognition", model="vasista22/whisper-kannada-base", chunk_length_s=30, device=device)
 
47
 
48
  >>> # path to the audio file to be transcribed
49
  >>> audio = "/path/to/audio.format"
 
50
  >>> device = "cuda:0" if torch.cuda.is_available() else "cpu"
51
 
52
  >>> transcribe = pipeline(task="automatic-speech-recognition", model="vasista22/whisper-kannada-base", chunk_length_s=30, device=device)