Gregoryjr commited on
Commit
0fe2dfa
1 Parent(s): c8d475b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import streamlit as st
2
- from transformers import pipeline
 
3
 
4
  st.title("Milestone #2 offensive statement prediction with pre-trained models")
5
  st.write("in this basic demo you can select a model to judge whether or not the text below is offensive")
 
1
  import streamlit as st
2
+ from transformers import pipeline
3
+ from transformers import AutoTokenizer, AutoModelForSequenceClassification
4
 
5
  st.title("Milestone #2 offensive statement prediction with pre-trained models")
6
  st.write("in this basic demo you can select a model to judge whether or not the text below is offensive")