Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import T5ForConditionalGeneration, T5Tokenizer
|
|
3 |
from textwrap import fill
|
4 |
|
5 |
# Load the finetuned model and tokenizer
|
6 |
-
last_checkpoint = "model/checkpoint-1000"
|
7 |
finetuned_model = T5ForConditionalGeneration.from_pretrained(last_checkpoint)
|
8 |
tokenizer = T5Tokenizer.from_pretrained(last_checkpoint)
|
9 |
|
|
|
3 |
from textwrap import fill
|
4 |
|
5 |
# Load the finetuned model and tokenizer
|
6 |
+
last_checkpoint = "model/out/kaggle/working/results/checkpoint-1000"
|
7 |
finetuned_model = T5ForConditionalGeneration.from_pretrained(last_checkpoint)
|
8 |
tokenizer = T5Tokenizer.from_pretrained(last_checkpoint)
|
9 |
|