minjibi commited on
Commit
39c3671
1 Parent(s): 2a5f9a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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