Aleton commited on
Commit
c82ca04
·
verified ·
1 Parent(s): f1f80af

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -28,7 +28,7 @@ This model is a fine-tuned version of [openai/whisper-small](https://huggingface
28
  ```python
29
  from transformers import pipeline
30
 
31
- pipe = pipeline("automatic-speech-recognition", model="YOUR_USERNAME/whisper-small-be-custom")
32
  result = pipe("audio_file.mp3")
33
  print(result["text"])
34
  ```
@@ -47,7 +47,7 @@ print(result["text"])
47
  from transformers import pipeline
48
 
49
  # Замените YOUR_USERNAME на ваш никнейм
50
- pipe = pipeline("automatic-speech-recognition", model="YOUR_USERNAME/whisper-small-be-custom")
51
  result = pipe("audio_file.mp3")
52
  print(result["text"])
53
  ```
@@ -66,7 +66,7 @@ print(result["text"])
66
  from transformers import pipeline
67
 
68
  # Замяніце YOUR_USERNAME на ваш нікнэйм
69
- pipe = pipeline("automatic-speech-recognition", model="YOUR_USERNAME/whisper-small-be-custom")
70
  result = pipe("audio_file.mp3")
71
  print(result["text"])
72
  ```
 
28
  ```python
29
  from transformers import pipeline
30
 
31
+ pipe = pipeline("automatic-speech-recognition", model="aleton/whisper-small-be-custom")
32
  result = pipe("audio_file.mp3")
33
  print(result["text"])
34
  ```
 
47
  from transformers import pipeline
48
 
49
  # Замените YOUR_USERNAME на ваш никнейм
50
+ pipe = pipeline("automatic-speech-recognition", model="aleton/whisper-small-be-custom")
51
  result = pipe("audio_file.mp3")
52
  print(result["text"])
53
  ```
 
66
  from transformers import pipeline
67
 
68
  # Замяніце YOUR_USERNAME на ваш нікнэйм
69
+ pipe = pipeline("automatic-speech-recognition", model="aleton/whisper-small-be-custom")
70
  result = pipe("audio_file.mp3")
71
  print(result["text"])
72
  ```