Spaces:
Build error
Build error
Commit
·
586e19e
1
Parent(s):
46813b7
nit
Browse files- transformer_infer.py +0 -1
transformer_infer.py
CHANGED
|
@@ -70,7 +70,6 @@ class PhemeClient():
|
|
| 70 |
|
| 71 |
# T2S model
|
| 72 |
self.t2s = T5ForConditionalGeneration.from_pretrained(args.t2s_path)
|
| 73 |
-
self.t2s = T5ForConditionalGeneration.
|
| 74 |
self.t2s.to(device)
|
| 75 |
self.t2s.eval()
|
| 76 |
|
|
|
|
| 70 |
|
| 71 |
# T2S model
|
| 72 |
self.t2s = T5ForConditionalGeneration.from_pretrained(args.t2s_path)
|
|
|
|
| 73 |
self.t2s.to(device)
|
| 74 |
self.t2s.eval()
|
| 75 |
|