Update app.py
Browse files
app.py
CHANGED
|
@@ -391,6 +391,7 @@ try:
|
|
| 391 |
|
| 392 |
print("[GECToR] Initializing model... (This may take 30s)")
|
| 393 |
|
|
|
|
| 394 |
vocab_path="/app/data", # Directory containing verb-form-vocab.txt
|
| 395 |
model_paths=["/app/data/gector_model.th"],
|
| 396 |
model_name='roberta-base',
|
|
|
|
| 391 |
|
| 392 |
print("[GECToR] Initializing model... (This may take 30s)")
|
| 393 |
|
| 394 |
+
GEC_MODEL = GecBERTModel(
|
| 395 |
vocab_path="/app/data", # Directory containing verb-form-vocab.txt
|
| 396 |
model_paths=["/app/data/gector_model.th"],
|
| 397 |
model_name='roberta-base',
|