fixing typo in markdown
Browse files
README.md
CHANGED
@@ -26,7 +26,7 @@ This model is aimed to support processing user-generated content where informal
|
|
26 |
|
27 |
## Usage
|
28 |
|
29 |
-
|
30 |
from happytransformer import HappyTextToText, TTSettings
|
31 |
|
32 |
happy_tt = HappyTextToText("T5", "vennify/t5-base-grammar-correction")
|
@@ -37,7 +37,7 @@ args = TTSettings(num_beams=5, min_length=1)
|
|
37 |
result = happy_tt.generate_text("grammar: Hihowareyoudoingtaday?.", args=args)
|
38 |
|
39 |
print(result.text) # This sentence has bad grammar and is comrpessed.
|
40 |
-
|
41 |
|
42 |
# Model Details
|
43 |
|
|
|
26 |
|
27 |
## Usage
|
28 |
|
29 |
+
```python
|
30 |
from happytransformer import HappyTextToText, TTSettings
|
31 |
|
32 |
happy_tt = HappyTextToText("T5", "vennify/t5-base-grammar-correction")
|
|
|
37 |
result = happy_tt.generate_text("grammar: Hihowareyoudoingtaday?.", args=args)
|
38 |
|
39 |
print(result.text) # This sentence has bad grammar and is comrpessed.
|
40 |
+
```
|
41 |
|
42 |
# Model Details
|
43 |
|