Dmitry Chaplinsky
commited on
Commit
•
d22b664
1
Parent(s):
d1b02d5
Almost almost there yet
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 self.model.add_punctuation_capitalization(
|
|
|
19 |
A :obj:`str`
|
20 |
"""
|
21 |
inputs = inputs.strip()
|
22 |
+
return {"generated_text": [self.model.add_punctuation_capitalization(inputs)]}
|