Spaces:
Sleeping
Sleeping
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}") |