ThorbenFroehlking commited on
Commit
65c015c
·
1 Parent(s): 0efae95
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -30,7 +30,8 @@ from scipy.special import expit
30
 
31
  # Load model and move to device
32
  #checkpoint = 'ThorbenF/prot_t5_xl_uniref50'
33
- checkpoint = 'ThorbenF/prot_t5_xl_uniref50_cryptic'
 
34
  max_length = 1500
35
  model, tokenizer = load_model(checkpoint, max_length)
36
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
@@ -532,4 +533,4 @@ with gr.Blocks(css="""
532
  outputs=[predictions_output, molecule_output, download_output]
533
  )
534
 
535
- demo.launch(share=True)
 
30
 
31
  # Load model and move to device
32
  #checkpoint = 'ThorbenF/prot_t5_xl_uniref50'
33
+ #checkpoint = 'ThorbenF/prot_t5_xl_uniref50_cryptic'
34
+ checkpoint = 'ThorbenF/prot_t5_xl_uniref50_database'
35
  max_length = 1500
36
  model, tokenizer = load_model(checkpoint, max_length)
37
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
 
533
  outputs=[predictions_output, molecule_output, download_output]
534
  )
535
 
536
+ demo.launch(share=True)