Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,7 +79,7 @@ def load_model(filename="tg-medium"):
|
|
| 79 |
with open(f'{filename}.json', 'r', encoding='utf-8') as f:
|
| 80 |
vocab = json.load(f)
|
| 81 |
vectorizer = TextVectorization(
|
| 82 |
-
max_tokens=
|
| 83 |
output_sequence_length=100,
|
| 84 |
standardize=None,
|
| 85 |
vocabulary=vocab
|
|
|
|
| 79 |
with open(f'{filename}.json', 'r', encoding='utf-8') as f:
|
| 80 |
vocab = json.load(f)
|
| 81 |
vectorizer = TextVectorization(
|
| 82 |
+
max_tokens=128000,
|
| 83 |
output_sequence_length=100,
|
| 84 |
standardize=None,
|
| 85 |
vocabulary=vocab
|