Spaces:
Runtime error
Runtime error
yinuozhang
commited on
Commit
•
4c036b8
1
Parent(s):
cbfad80
Update app.py
Browse files
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
|
11 |
AutoConfig.register("metalatte", MetaLATTEConfig)
|
12 |
-
AutoModel.register(MetaLATTEConfig,
|
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")
|