madani commited on
Commit
816cbd6
1 Parent(s): 459a0b9

Delete example1.py

Browse files
Files changed (1) hide show
  1. example1.py +0 -7
example1.py DELETED
@@ -1,7 +0,0 @@
1
- import streamlit as st
2
- from transformers import pipeline
3
-
4
- model="distilbert-base-uncased-finetuned-sst-2-english"
5
- classifier = pipeline("sentiment-analysis", model=model)
6
- text = st.text_input("Input a text:")
7
- st.write(classifier(text))