Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from transformers import pipeline
|
|
| 5 |
from transformers import BartTokenizer, BartForConditionalGeneration
|
| 6 |
|
| 7 |
# Replace with your Hugging Face model repository path
|
| 8 |
-
model_repo_path = '
|
| 9 |
|
| 10 |
# Load the model and tokenizer
|
| 11 |
model = BartForConditionalGeneration.from_pretrained(model_repo_path)
|
|
|
|
| 5 |
from transformers import BartTokenizer, BartForConditionalGeneration
|
| 6 |
|
| 7 |
# Replace with your Hugging Face model repository path
|
| 8 |
+
model_repo_path = 'JDmayo/mbart-base'
|
| 9 |
|
| 10 |
# Load the model and tokenizer
|
| 11 |
model = BartForConditionalGeneration.from_pretrained(model_repo_path)
|