MNGames commited on
Commit
eee75cd
1 Parent(s): c82653a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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-small"
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