dang1812 commited on
Commit
d93543e
1 Parent(s): 7427793

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -2,13 +2,8 @@ from transformers import pipeline
2
  import streamlit as st #Web App
3
 
4
  #title
5
- st.title("Easy OCR - Extract Text from Images")
6
-
7
- #subtitle
8
- st.markdown("## Optical Character Recognition - Using `easyocr`, `streamlit` - hosted on 🤗 Spaces")
9
-
10
- st.markdown("Link to the app - [image-to-text-app on 🤗 Spaces](https://huggingface.co/spaces/Amrrs/image-to-text-app)")
11
 
12
  sentiment_pipeline = pipeline("sentiment-analysis")
13
  data = ["I love you", "I hate you"]
14
- sentiment_pipeline(data)
 
2
  import streamlit as st #Web App
3
 
4
  #title
5
+ st.title("Text Sentiment Analysis")
 
 
 
 
 
6
 
7
  sentiment_pipeline = pipeline("sentiment-analysis")
8
  data = ["I love you", "I hate you"]
9
+ st.write(sentiment_pipeline(data))