Wootang01 commited on
Commit
82a84ea
·
1 Parent(s): 1cacc37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
2
  from transformers import pipeline
3
 
4
  st.title("Text Classifier 1")
5
- st.write("Input text and labels -- comma separate labels. Submit. The machine will classify the text according to the labels.")
6
 
7
  classifier = pipeline(task="zero-shot-classification")
8
 
 
2
  from transformers import pipeline
3
 
4
  st.title("Text Classifier 1")
5
+ st.write("Input text and labels -- comma separate labels. Submit. The machine will classify the text according to one of the labels. It will also present a score for classifying that text for that label.")
6
 
7
  classifier = pipeline(task="zero-shot-classification")
8