Automatic Speech Recognition
Transformers
Safetensors
whisper
audio
asr
🇪🇺 Region: EU
marksverdhei commited on
Commit
5f3a904
·
verified ·
1 Parent(s): 9f4ecd4

Fix incorrect repo address and malformatted code snippets

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -68,20 +68,20 @@ Please note that this is a work in progress. This model is released only for tes
68
  ### Local Setup
69
  To run locally, install the necessary libraries and use the Transformers pipeline:
70
 
71
- \`\`\`bash
72
  pip install transformers>=4.35.2
73
- \`\`\`
74
 
75
- \`\`\`python
76
  from transformers import pipeline
77
 
78
  # Load the distilled model
79
- asr = pipeline("automatic-speech-recognition", "NbAiLab/NB-Whisper-Large-destil-Turbo-beta")
80
 
81
  # Transcribe audio
82
  result = asr("example_audio.mp3", generate_kwargs={'task': 'transcribe', 'language': 'no'})
83
  print(result["text"])
84
- \`\`\`
85
 
86
  ---
87
 
 
68
  ### Local Setup
69
  To run locally, install the necessary libraries and use the Transformers pipeline:
70
 
71
+ ```bash
72
  pip install transformers>=4.35.2
73
+ ```
74
 
75
+ ```python
76
  from transformers import pipeline
77
 
78
  # Load the distilled model
79
+ asr = pipeline("automatic-speech-recognition", "NbAiLab/nb-whisper-large-distil-turbo-beta")
80
 
81
  # Transcribe audio
82
  result = asr("example_audio.mp3", generate_kwargs={'task': 'transcribe', 'language': 'no'})
83
  print(result["text"])
84
+ ```
85
 
86
  ---
87