Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
classifier = pipeline("token-classification", model="thai_toxicity_tweet")
|
5 |
def main():
|
6 |
st.title("Thai language in twitter")
|
7 |
|
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
classifier = pipeline("token-classification", model="thai_toxicity_tweet",use_auth_token=True)
|
5 |
def main():
|
6 |
st.title("Thai language in twitter")
|
7 |
|