dominguezdaniel commited on
Commit
fb42728
·
verified ·
1 Parent(s): a695f7c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from transformers import pipeline, BartTokenizer, BartForConditionalGeneration
5
  classifier = pipeline("image-classification", model="google/vit-base-patch16-224")
6
 
7
  # Initialize the tokenizer and model for the generative text (GPT-like model)
8
- model_name = "facebook/bart-large-cnn" # Example BART model for demonstration
9
  tokenizer = BartTokenizer.from_pretrained(model_name)
10
  model = BartForConditionalGeneration.from_pretrained(model_name)
11
 
 
5
  classifier = pipeline("image-classification", model="google/vit-base-patch16-224")
6
 
7
  # Initialize the tokenizer and model for the generative text (GPT-like model)
8
+ model_name = "textattack/facebook-bart-base-RTE" # Example BART model for demonstration
9
  tokenizer = BartTokenizer.from_pretrained(model_name)
10
  model = BartForConditionalGeneration.from_pretrained(model_name)
11