Spaces:
Runtime error
Runtime error
osanseviero
commited on
Commit
β’
f0cd792
1
Parent(s):
29fb000
Change name so it's linked to the model repo
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
|
|
8 |
|
9 |
examples = [['COVID-19 is'],['A 65-year-old female patient with a past medical history of']]
|
10 |
|
11 |
-
pipe_biogpt = pipeline("text-generation", model="microsoft/
|
12 |
|
13 |
title = "BioGPT-Large Demo"
|
14 |
description = """
|
|
|
8 |
|
9 |
examples = [['COVID-19 is'],['A 65-year-old female patient with a past medical history of']]
|
10 |
|
11 |
+
pipe_biogpt = pipeline("text-generation", model="microsoft/BioGPT-Large", device="cuda:0")
|
12 |
|
13 |
title = "BioGPT-Large Demo"
|
14 |
description = """
|