ajitrajasekharan's picture
Create app.py
98f2c32
raw
history blame
776 Bytes
import gradio as gr
title = "Biomedical"
description = "Gradio Demo of a pretrained model used for NER without supervised. To use it, simply add your text, or click one of the examples to load them. Read more at the links below."
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2007.15779' target='_blank'>Domain-Specific Language Model Pretraining for Biomedical Natural Language Processing</a> | <a href='https://huggingface.co/microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract-fulltext' target='_blank'>HF model page</a></p>"
examples = [
["Lou Gehrig who works for XCorp suffers from [MASK]"]
]
gr.Interface.load("ajitrajasekharan/biomedical,title=title,description=description,article=article, examples=examples,enable_queue=True).launch()