Update app.py
Browse files
app.py
CHANGED
@@ -20,8 +20,8 @@ from happytransformer import HappyTextToText, TTSettings
|
|
20 |
from transformers import AutoTokenizer, T5ForConditionalGeneration
|
21 |
from pydantic import BaseModel
|
22 |
|
23 |
-
tokenizer = AutoTokenizer.from_pretrained("grammarly/coedit-large"
|
24 |
-
chatModel = T5ForConditionalGeneration.from_pretrained("grammarly/coedit-large"
|
25 |
|
26 |
configs = BaseModelConfigs.load("./configs.yaml")
|
27 |
|
|
|
20 |
from transformers import AutoTokenizer, T5ForConditionalGeneration
|
21 |
from pydantic import BaseModel
|
22 |
|
23 |
+
tokenizer = AutoTokenizer.from_pretrained("grammarly/coedit-large")
|
24 |
+
chatModel = T5ForConditionalGeneration.from_pretrained("grammarly/coedit-large")
|
25 |
|
26 |
configs = BaseModelConfigs.load("./configs.yaml")
|
27 |
|