Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ from esm import pretrained
|
|
13 |
|
14 |
model_esm, alphabet = pretrained.load_model_and_alphabet('esm2_t36_3B_UR50D')
|
15 |
model_esm.eval()
|
16 |
-
model_esm =
|
17 |
|
18 |
# Load the model
|
19 |
model = Blip2ProteinMistral(config=FAPMConfig(), esm_size='3b')
|
|
|
13 |
|
14 |
model_esm, alphabet = pretrained.load_model_and_alphabet('esm2_t36_3B_UR50D')
|
15 |
model_esm.eval()
|
16 |
+
model_esm = model_esm.cuda()
|
17 |
|
18 |
# Load the model
|
19 |
model = Blip2ProteinMistral(config=FAPMConfig(), esm_size='3b')
|