Spaces:
Running
Running
Kingston Yip
commited on
Commit
•
f6a97ed
1
Parent(s):
5c0aa0b
updates
Browse files
app.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
import streamlit as st
|
2 |
import torch
|
3 |
-
from transformers import
|
4 |
-
|
5 |
|
6 |
st.title("Toxic Tweets Analyzer")
|
7 |
image = "kanye_tweet.jpg"
|
|
|
1 |
import streamlit as st
|
2 |
import torch
|
3 |
+
from transformers import AutoModelForSequenceClassification, pipeline, AutoTokenizer
|
|
|
4 |
|
5 |
st.title("Toxic Tweets Analyzer")
|
6 |
image = "kanye_tweet.jpg"
|