Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from transformers import pipeline
|
|
4 |
MAX_LENGTH = 512
|
5 |
|
6 |
# Load the spell corrector model
|
7 |
-
corrector = pipeline("text2text-generation", model="
|
8 |
|
9 |
def find_mistake_positions(original, corrected):
|
10 |
"""
|
|
|
4 |
MAX_LENGTH = 512
|
5 |
|
6 |
# Load the spell corrector model
|
7 |
+
corrector = pipeline("text2text-generation", model="Diezu/bat_pho_bo")
|
8 |
|
9 |
def find_mistake_positions(original, corrected):
|
10 |
"""
|