Manglik-R commited on
Commit
d5b5a8d
1 Parent(s): 17200ee

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ st.title("Sentiment Analysis with HuggingFace Spaces")
4
+ st.write("Enter a sentence to analyze text's Emotion:")
5
+
6
+ user_input = st.text_input("")
7
+ if user_input:
8
+ result = ''
9
+ sentiment = ''
10
+ confidence = ''
11
+
12
+ st.write(f"Sentiment: {sentiment}")
13
+ st.write(f"Confidence: {confidence:.2f}")