Update app.py
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ from transformers import pipeline
|
|
| 25 |
from transformers import T5ForConditionalGeneration, T5Tokenizer
|
| 26 |
|
| 27 |
# Replace with your Hugging Face model repository path
|
| 28 |
-
model_repo_path = 'AbdurRehman313/
|
| 29 |
|
| 30 |
# Load the model and tokenizer
|
| 31 |
model = T5ForConditionalGeneration.from_pretrained(model_repo_path)
|
|
|
|
| 25 |
from transformers import T5ForConditionalGeneration, T5Tokenizer
|
| 26 |
|
| 27 |
# Replace with your Hugging Face model repository path
|
| 28 |
+
model_repo_path = 'AbdurRehman313/T5_samsum_model_files'
|
| 29 |
|
| 30 |
# Load the model and tokenizer
|
| 31 |
model = T5ForConditionalGeneration.from_pretrained(model_repo_path)
|