Spaces:
Sleeping
Sleeping
File size: 323 Bytes
d5b5a8d |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
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}") |