Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import warnings
|
|
3 |
import matplotlib.colors as mcolors
|
4 |
import matplotlib.pyplot as plt
|
5 |
import streamlit as st
|
6 |
-
from transformers import AutoModelForTokenClassification,
|
7 |
|
8 |
warnings.simplefilter(action="ignore", category=Warning)
|
9 |
logging.set_verbosity(logging.ERROR)
|
|
|
3 |
import matplotlib.colors as mcolors
|
4 |
import matplotlib.pyplot as plt
|
5 |
import streamlit as st
|
6 |
+
from transformers import AutoModelForTokenClassification, AutoTokenizer, logging, pipeline
|
7 |
|
8 |
warnings.simplefilter(action="ignore", category=Warning)
|
9 |
logging.set_verbosity(logging.ERROR)
|