Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
-
from transformers import
|
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")
|