!python --version
pip --version
!pip install ipywidgets
#/root/venv/bin/python
!/root/venv/bin/python -m pip install --upgrade pip
!/usr/local/bin/python -m pip install ipywidgets
#/root/venv/bin/python
!/usr/local/bin/python -m jupyter nbextension enable --py widgetsnbextension
#/root/venv/bin/python
from ipywidgets import IntProgress
from flair.models.text_classification_model import TextClassifier
#classifier = TextClassifier.load('/datasets/gd/type_dis_trans_few/final-model.pt')
classifierTyp = TextClassifier.load('/datasets/gd/type_disease_trans_more/final-model.pt')
classifierMis = TextClassifier.load('/datasets/gd/pure_corpus_17k_slow_bert_latest/final-model.pt')
overall_score= 0
!pip install -U spacy
!python -m spacy validate
display(HTML(highlighted_text))
df_coeff["normalized_score"].mean()
display(HTML(highlighted_text))
df_coeff["normalized_score"].mean()
anvil.server.wait_forever()