StoryTime / app.py
yashkens's picture
add emotion classification
1a62c90
import streamlit as st
# from emoji import get_emoji
from emotions import get_emotion
st.title("I don't even know what this is yet")
name = st.text_input('Who are you?', 'Zeliboba')
text = st.text_area('Submit your stories', '''Random symbols''')
st.write('Here is your first text:', text)
st.write(get_emotion(text)['label'])