BCS-Project / app.py
Manglik-R's picture
Create app.py
d5b5a8d
raw
history blame
No virus
323 Bytes
import streamlit as st
st.title("Sentiment Analysis with HuggingFace Spaces")
st.write("Enter a sentence to analyze text's Emotion:")
user_input = st.text_input("")
if user_input:
result = ''
sentiment = ''
confidence = ''
st.write(f"Sentiment: {sentiment}")
st.write(f"Confidence: {confidence:.2f}")