Spaces:
Runtime error
Runtime error
from transformers import pipeline | |
import streamlit as st #Web App | |
#title | |
st.title("Easy OCR - Extract Text from Images") | |
#subtitle | |
st.markdown("## Optical Character Recognition - Using `easyocr`, `streamlit` - hosted on π€ Spaces") | |
st.markdown("Link to the app - [image-to-text-app on π€ Spaces](https://huggingface.co/spaces/Amrrs/image-to-text-app)") | |
sentiment_pipeline = pipeline("sentiment-analysis") | |
data = ["I love you", "I hate you"] | |
sentiment_pipeline(data) | |