Spaces:
Runtime error
Runtime error
ajitrajasekharan
commited on
Commit
•
d5a9239
1
Parent(s):
32efe7b
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
title = "Model for Biomedical NER"
|
3 |
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."
|
4 |
-
article = "<p style='text-align: center'><a href='https://ajitrajasekharan.github.io/2021/01/02/my-first-post.html' target='_blank'>Model pretrained on biomedical corpus and used for NER without fine-tuning</a> | <a href='https://huggingface.co/
|
5 |
examples = [
|
6 |
-
["Lou Gehrig who works for XCorp suffers from [MASK]"]
|
7 |
]
|
8 |
gr.Interface.load("huggingface/ajitrajasekharan/biomedical",title=title,description=description,article=article, examples=examples,enable_queue=True).launch()
|
|
|
1 |
import gradio as gr
|
2 |
title = "Model for Biomedical NER"
|
3 |
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."
|
4 |
+
article = "<p style='text-align: center'><a href='https://ajitrajasekharan.github.io/2021/01/02/my-first-post.html' target='_blank'>Model pretrained on biomedical corpus and used for NER without fine-tuning</a> | <a href='https://huggingface.co/ajitrajasekharan/biomedical' target='_blank'>HF model page</a></p>"
|
5 |
examples = [
|
6 |
+
["Lou Gehrig who works for XCorp suffers from [MASK]"],["A [MASK] level below 60 indicates chronic kidney disease"],["Paul Erdos died at [MASK]"]
|
7 |
]
|
8 |
gr.Interface.load("huggingface/ajitrajasekharan/biomedical",title=title,description=description,article=article, examples=examples,enable_queue=True).launch()
|