Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load the text classification model pipeline
|
5 |
-
classifier = pipeline("text-classification",model='
|
6 |
|
7 |
# Streamlit application title
|
8 |
st.title("Text Classification for you")
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load the text classification model pipeline
|
5 |
+
classifier = pipeline("text-classification",model='miltonc/miltonc_first_model', return_all_scores=True)
|
6 |
|
7 |
# Streamlit application title
|
8 |
st.title("Text Classification for you")
|