Spaces:
Sleeping
Sleeping
import streamlit as st | |
#import transformers | |
#from transformers import pipeline | |
st.title('Text Analysis') | |
# classifier = pipeline("text-classification", model="distilbert-base-uncased-finetuned-sst-2-english") | |
# input_text = st.text_area("Enter text to analyze:") | |
# if st.button('Analyze'): | |
# if input_text: | |
# result = classifier(input_text) | |
# st.write(result) | |
# else: | |
# st.warning('Please enter some text') |