hans00 commited on
Commit
c4a5682
1 Parent(s): 510ec41

Correct example

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -19,8 +19,8 @@ import torch
19
 
20
  model_name = "BricksDisplay/ellie-Bert-VITS2"
21
 
22
- model = AutoModel.from_pretrained(model_name, trust_remote=True)
23
- processor = AutoProcessor.from_pretrained(model_name, trust_remote=True)
24
 
25
  with torch.no_grad():
26
  inputs = processor("你好", language="zh", return_tensors="pt")
 
19
 
20
  model_name = "BricksDisplay/ellie-Bert-VITS2"
21
 
22
+ model = AutoModel.from_pretrained(model_name, trust_remote_code=True)
23
+ processor = AutoProcessor.from_pretrained(model_name, trust_remote_code=True)
24
 
25
  with torch.no_grad():
26
  inputs = processor("你好", language="zh", return_tensors="pt")