Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
import streamlit as st
|
2 |
-
from transformers import
|
|
|
|
|
|
|
|
|
3 |
|
4 |
tokenizer = AutoTokenizer.from_pretrained(
|
5 |
'airesearch/wangchanberta-base-att-spm-uncased'
|
|
|
1 |
import streamlit as st
|
2 |
+
from transformers import (
|
3 |
+
AutoModelForSequenceClassification,
|
4 |
+
AutoTokenizer,
|
5 |
+
pipeline
|
6 |
+
)
|
7 |
|
8 |
tokenizer = AutoTokenizer.from_pretrained(
|
9 |
'airesearch/wangchanberta-base-att-spm-uncased'
|