Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def load_model():
|
|
11 |
# Load model (only once)
|
12 |
tokenizer, model = load_model()
|
13 |
|
14 |
-
MAX_PHRASE_LENGTH =
|
15 |
PREFIX = "Please correct the following sentence: "
|
16 |
|
17 |
# Function to correct text
|
|
|
11 |
# Load model (only once)
|
12 |
tokenizer, model = load_model()
|
13 |
|
14 |
+
MAX_PHRASE_LENGTH = 3
|
15 |
PREFIX = "Please correct the following sentence: "
|
16 |
|
17 |
# Function to correct text
|