Skip to content

Instantly share code, notes, and snippets.

@Abhayparashar31
Created November 11, 2021 15:56
Show Gist options
  • Save Abhayparashar31/3e543fa2661835297a113c59d6326bed to your computer and use it in GitHub Desktop.
Save Abhayparashar31/3e543fa2661835297a113c59d6326bed to your computer and use it in GitHub Desktop.
import streamlit as st
st.write(''' # Hotel Review Sentiment Analysis ''') ## H1 Heading
st.write("A Web app that detects whether an Review is Positive or Negative") ## subheading
review = st.text_input("Enter Your Review...") ## Input Field
Generate_pred = st.button("Predict Sentiment") ## Button
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment