Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import pipeline, BartTokenizer, BartForConditionalGeneration
|
3 |
|
4 |
# Load the BART model and tokenizer for text generation
|
5 |
-
model_name = "facebook/bart-
|
6 |
tokenizer = BartTokenizer.from_pretrained(model_name)
|
7 |
model = BartForConditionalGeneration.from_pretrained(model_name)
|
8 |
|
|
|
2 |
from transformers import pipeline, BartTokenizer, BartForConditionalGeneration
|
3 |
|
4 |
# Load the BART model and tokenizer for text generation
|
5 |
+
model_name = "facebook/bart-base"
|
6 |
tokenizer = BartTokenizer.from_pretrained(model_name)
|
7 |
model = BartForConditionalGeneration.from_pretrained(model_name)
|
8 |
|