Alidr79 commited on
Commit
74cad3c
·
verified ·
1 Parent(s): 0095b31

Update app.py

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