project.py

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#pip install streamlit
#streamlit run project.py
import streamlit as st
import pandas as pd
import numpy as np
st.title("Reviews' parser")
txt = st.text_area('Text to analyze', "Write your review here")
st.write('Positive:', txt.split(" "))
st.write('Negative:', txt.split(" "))