yinuozhang commited on
Commit
4c036b8
1 Parent(s): cbfad80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,9 +7,9 @@ sys.path.insert(0, metalatte_path)
7
 
8
  # Import the custom configuration and model
9
  from configuration import MetaLATTEConfig
10
- from modeling_metalatte import MetaLATTEModel
11
  AutoConfig.register("metalatte", MetaLATTEConfig)
12
- AutoModel.register(MetaLATTEConfig, MetaLATTEModel)
13
 
14
  tokenizer = AutoTokenizer.from_pretrained("facebook/esm2_t33_650M_UR50D")
15
  config = AutoConfig.from_pretrained("ChatterjeeLab/MetaLATTE")
 
7
 
8
  # Import the custom configuration and model
9
  from configuration import MetaLATTEConfig
10
+ from modeling_metalatte import MultitaskProteinModel
11
  AutoConfig.register("metalatte", MetaLATTEConfig)
12
+ AutoModel.register(MetaLATTEConfig, MultitaskProteinModel)
13
 
14
  tokenizer = AutoTokenizer.from_pretrained("facebook/esm2_t33_650M_UR50D")
15
  config = AutoConfig.from_pretrained("ChatterjeeLab/MetaLATTE")