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, AutoTokenizer,AutoModelForTokenClassification
|
3 |
|
4 |
-
classifier = pipeline("
|
5 |
def main():
|
6 |
st.title("POS-tagging for Japanese texts")
|
7 |
|
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline, AutoTokenizer,AutoModelForTokenClassification
|
3 |
|
4 |
+
classifier = pipeline("token-classification", model="KoichiYasuoka/bert-base-japanese-upos")
|
5 |
def main():
|
6 |
st.title("POS-tagging for Japanese texts")
|
7 |
|