dominguezdaniel commited on
Commit
36b1b15
·
verified ·
1 Parent(s): 6d11c81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import gradio as gr
2
- from transformers import pipeline, AutoModelForCausalLM, AutoTokenizer
3
 
4
  # Initialize the image classification pipeline
5
  classifier = pipeline("image-classification", model="google/vit-base-patch16-224")
 
1
  import gradio as gr
2
+ from transformers import BartTokenizer, BartForConditionalGeneration
3
 
4
  # Initialize the image classification pipeline
5
  classifier = pipeline("image-classification", model="google/vit-base-patch16-224")