Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ Check out the [BioGPT model card](https://huggingface.co/microsoft/biogpt) for m
|
|
16 |
"""
|
17 |
|
18 |
def inference(text):
|
19 |
-
output_biogpt = pipe_biogpt(text, max_length=100)[0]["generated_text"]
|
20 |
return [
|
21 |
output_biogpt,
|
22 |
]
|
|
|
16 |
"""
|
17 |
|
18 |
def inference(text):
|
19 |
+
output_biogpt = pipe_biogpt(text, max_length=100)[0]["generated_text"]
|
20 |
return [
|
21 |
output_biogpt,
|
22 |
]
|