katuni4ka commited on
Commit
88912e7
·
verified ·
1 Parent(s): e39a341

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -63,7 +63,7 @@ print(text)
63
  1. Install packages required for using OpenVINO GenAI.
64
  ```
65
  pip install huggingface_hub
66
- pip install -U --pre --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly openvino-tokenizers openvino openvino-genai
67
  ```
68
 
69
  2. Download model from HuggingFace Hub
@@ -85,7 +85,7 @@ import openvino_genai as ov_genai
85
  import datasets
86
 
87
  device = "CPU"
88
- pipe = ov_genai.LLMPipeline(model_path, device)
89
 
90
  dataset = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation", trust_remote_code=True)
91
  sample = dataset[0]["audio]["array"]
 
63
  1. Install packages required for using OpenVINO GenAI.
64
  ```
65
  pip install huggingface_hub
66
+ pip install -U --pre --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly openvino openvino-tokenizers openvino-genai
67
  ```
68
 
69
  2. Download model from HuggingFace Hub
 
85
  import datasets
86
 
87
  device = "CPU"
88
+ pipe = ov_genai.WhisperPipeline(model_path, device)
89
 
90
  dataset = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation", trust_remote_code=True)
91
  sample = dataset[0]["audio]["array"]