Dmitry Chaplinsky
commited on
Commit
·
d1b02d5
1
Parent(s):
b915549
Almost almost there
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
|
@@ -19,4 +19,4 @@ class PreTrainedPipeline:
|
|
| 19 |
A :obj:`str`
|
| 20 |
"""
|
| 21 |
inputs = inputs.strip()
|
| 22 |
-
return
|
|
|
|
| 19 |
A :obj:`str`
|
| 20 |
"""
|
| 21 |
inputs = inputs.strip()
|
| 22 |
+
return self.model.add_punctuation_capitalization([inputs])
|