harshildarji
commited on
Commit
•
007788c
1
Parent(s):
fd2d5c8
update app
Browse files
app.py
CHANGED
@@ -2,14 +2,8 @@ import warnings
|
|
2 |
|
3 |
import matplotlib.colors as mcolors
|
4 |
import matplotlib.pyplot as plt
|
5 |
-
from transformers import (
|
6 |
-
AutoModelForTokenClassification,
|
7 |
-
AutoTokenizer,
|
8 |
-
logging,
|
9 |
-
pipeline,
|
10 |
-
)
|
11 |
-
|
12 |
import streamlit as st
|
|
|
13 |
|
14 |
warnings.simplefilter(action="ignore", category=Warning)
|
15 |
logging.set_verbosity(logging.ERROR)
|
|
|
2 |
|
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)
|