Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ TOKEN = os.getenv("HF_TOKEN")
|
|
14 |
login(TOKEN)
|
15 |
|
16 |
# This will download the model weights and instantiate the model on your machine.
|
17 |
-
model: ESM3InferenceClient = ESM3.from_pretrained("
|
18 |
|
19 |
def read_mol(molpath):
|
20 |
with open(molpath, "r") as fp:
|
|
|
14 |
login(TOKEN)
|
15 |
|
16 |
# This will download the model weights and instantiate the model on your machine.
|
17 |
+
model: ESM3InferenceClient = ESM3.from_pretrained("esm3_sm_open_v1").to("cuda")
|
18 |
|
19 |
def read_mol(molpath):
|
20 |
with open(molpath, "r") as fp:
|