Spaces:
Runtime error
Runtime error
Commit
β’
8542776
1
Parent(s):
3c4d2bd
Change name so it's linked to the model repo (#3)
Browse files- Change name so it's linked to the model repo (f0cd7928496de564ae715070b534e2733202f107)
Co-authored-by: Omar Sanseviero <[email protected]>
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 = """
|