Spaces:
Sleeping
Sleeping
fix
Browse files
app.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
import streamlit as st
|
2 |
from PIL import Image
|
3 |
from transformers import PaliGemmaForConditionalGeneration, PaliGemmaProcessor
|
4 |
-
from tqdm import tqdm
|
5 |
|
6 |
st.title("Coffe machine captioning app")
|
7 |
|
@@ -21,7 +20,6 @@ def load_model():
|
|
21 |
model, processor = load_model()
|
22 |
|
23 |
|
24 |
-
# Instructions for Tesseract OCR
|
25 |
st.sidebar.title("Instructions")
|
26 |
st.sidebar.write(
|
27 |
"""
|
|
|
1 |
import streamlit as st
|
2 |
from PIL import Image
|
3 |
from transformers import PaliGemmaForConditionalGeneration, PaliGemmaProcessor
|
|
|
4 |
|
5 |
st.title("Coffe machine captioning app")
|
6 |
|
|
|
20 |
model, processor = load_model()
|
21 |
|
22 |
|
|
|
23 |
st.sidebar.title("Instructions")
|
24 |
st.sidebar.write(
|
25 |
"""
|