zuleoerico commited on
Commit
4f52d7d
·
verified ·
1 Parent(s): 39dcf1e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -3
README.md CHANGED
@@ -1,3 +1,10 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ ---
4
+ # Use a pipeline as a high-level helper
5
+ from transformers import pipeline
6
+
7
+ pipe = pipeline("text-to-speech", model="microsoft/VibeVoice-Realtime-0.5B")
8
+ # Load model directly
9
+ from transformers import VibeVoiceStreamingForConditionalGenerationInference
10
+ model = VibeVoiceStreamingForConditionalGenerationInference.from_pretrained("microsoft/VibeVoice-Realtime-0.5B", dtype="auto")