Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,4 @@
|
|
1 |
import streamlit as st
|
2 |
-
from transformers import pipline
|
3 |
-
|
4 |
-
pipe = pipeline("image-to-text", model="Salesforce/blip2-opt-2.7b")
|
5 |
-
|
6 |
|
7 |
|
8 |
def answer_question(image, question):
|
|
|
1 |
import streamlit as st
|
|
|
|
|
|
|
|
|
2 |
|
3 |
|
4 |
def answer_question(image, question):
|