Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,10 @@ examples = [['COVID-19 is'],['A 65-year-old female patient with a past medical h
|
|
| 10 |
pipe_biogpt = pipeline("text-generation", model="microsoft/biogpt")
|
| 11 |
|
| 12 |
title = "BioGPT Demo"
|
| 13 |
-
description = "
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
def inference(text):
|
| 16 |
output_biogpt = pipe_biogpt(text, max_length=100)[0]["generated_text"]
|
|
|
|
| 10 |
pipe_biogpt = pipeline("text-generation", model="microsoft/biogpt")
|
| 11 |
|
| 12 |
title = "BioGPT Demo"
|
| 13 |
+
description = """
|
| 14 |
+
Check out the [BioGPT model card](https://huggingface.co/microsoft/biogpt) for more info.
|
| 15 |
+
**Disclaimer:** this demo was made for research purposes only and should not be used for medical purposes.
|
| 16 |
+
"""
|
| 17 |
|
| 18 |
def inference(text):
|
| 19 |
output_biogpt = pipe_biogpt(text, max_length=100)[0]["generated_text"]
|