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(model="google/vit-base-patch16-224")
|
5 |
def main():
|
6 |
st.title("POS-tagging for Japanese texts")
|
7 |
|
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
classifier = pipeline("Token Classification", model="google/vit-base-patch16-224")
|
5 |
def main():
|
6 |
st.title("POS-tagging for Japanese texts")
|
7 |
|