Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ pipe_biogpt = pipeline("text-generation", model="microsoft/biogpt")
|
|
| 16 |
pipe_biomedlm = pipeline("text-generation", model="stanford-crfm/BioMedLM", device="cuda:0")
|
| 17 |
|
| 18 |
title = "Compare generative biomedical LLMs!"
|
| 19 |
-
description = "This demo compares [BioGPT](https://huggingface.co/microsoft/biogpt) and [BioMedLM](https://huggingface.co/stanford-crfm/BioMedLM)."
|
| 20 |
|
| 21 |
def inference(text):
|
| 22 |
output_biogpt = pipe_biogpt(text, max_length=100)[0]["generated_text"]
|
|
|
|
| 16 |
pipe_biomedlm = pipeline("text-generation", model="stanford-crfm/BioMedLM", device="cuda:0")
|
| 17 |
|
| 18 |
title = "Compare generative biomedical LLMs!"
|
| 19 |
+
description = "This demo compares [BioGPT](https://huggingface.co/microsoft/biogpt) and [BioMedLM](https://huggingface.co/stanford-crfm/BioMedLM). **Disclaimer:** this demo was made for research purposes only and should not be used for medical purposes."
|
| 20 |
|
| 21 |
def inference(text):
|
| 22 |
output_biogpt = pipe_biogpt(text, max_length=100)[0]["generated_text"]
|