katielink osanseviero HF staff commited on
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 <osanseviero@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -1
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/biogpt-large", device="cuda:0")
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 = """