Suhaib-27 commited on
Commit
bc49206
·
verified ·
1 Parent(s): 99084a8

Delete test.py

Browse files
Files changed (1) hide show
  1. test.py +0 -9
test.py DELETED
@@ -1,9 +0,0 @@
1
- import streamlit as st
2
- from transformers import pipeline
3
-
4
- classifier = pipeline("sentiment-analysis")
5
- text = st.text_enter("Enter your text")
6
-
7
- if text :
8
- out = classifier(text)
9
- st.json(out)