wenkai commited on
Commit
061f874
1 Parent(s): e95deab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -27,16 +27,16 @@ def get_model(type='Molecule Function'):
27
  elif type == 'Biological Process':
28
  model.load_checkpoint("model/checkpoint_bp1.pth")
29
  model.to('cuda')
30
- elif type == 'Cellar Component':
31
- model.load_checkpoint("model/checkpoint_cc2.pth")
32
- model.to('cuda')
33
  return model
34
 
35
 
36
  models = {
37
  'Molecule Function': get_model('Molecule Function'),
38
  'Biological Process': get_model('Biological Process'),
39
- 'Cellar Component': get_model('Cellar Component'),
40
  }
41
 
42
 
 
27
  elif type == 'Biological Process':
28
  model.load_checkpoint("model/checkpoint_bp1.pth")
29
  model.to('cuda')
30
+ # elif type == 'Cellar Component':
31
+ # model.load_checkpoint("model/checkpoint_cc2.pth")
32
+ # model.to('cuda')
33
  return model
34
 
35
 
36
  models = {
37
  'Molecule Function': get_model('Molecule Function'),
38
  'Biological Process': get_model('Biological Process'),
39
+ # 'Cellar Component': get_model('Cellar Component'),
40
  }
41
 
42