Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import BlipForConditionalGeneration
|
|
|
3 |
|
4 |
model = BlipForConditionalGeneration.from_pretrained(
|
5 |
"Salesforce/blip-image-captioning-base")
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import BlipForConditionalGeneration
|
3 |
+
from transformers import AutoProcessor
|
4 |
|
5 |
model = BlipForConditionalGeneration.from_pretrained(
|
6 |
"Salesforce/blip-image-captioning-base")
|