Spaces:
Runtime error
Runtime error
Commit
·
2ef4a92
1
Parent(s):
a43f8f1
Update app.py
Browse files
app.py
CHANGED
|
@@ -185,11 +185,11 @@ import sys
|
|
| 185 |
|
| 186 |
|
| 187 |
def esm(protein_path, out_file):
|
|
|
|
| 188 |
esm_embedding_prep(out_file, protein_path)
|
| 189 |
# create args object with defaults
|
| 190 |
os.environ["HOME"] = "esm/model_weights"
|
| 191 |
print("calling ", sys.executable)
|
| 192 |
-
print("model weights", os.listdir("model_weights"))
|
| 193 |
print("datadir", os.listdir("data"))
|
| 194 |
subprocess.call(
|
| 195 |
f"python esm/scripts/extract.py esm2_t33_650M_UR50D {out_file} data/esm2_output --repr_layers 33 --include per_tok",
|
|
|
|
| 185 |
|
| 186 |
|
| 187 |
def esm(protein_path, out_file):
|
| 188 |
+
print("runingn esm")
|
| 189 |
esm_embedding_prep(out_file, protein_path)
|
| 190 |
# create args object with defaults
|
| 191 |
os.environ["HOME"] = "esm/model_weights"
|
| 192 |
print("calling ", sys.executable)
|
|
|
|
| 193 |
print("datadir", os.listdir("data"))
|
| 194 |
subprocess.call(
|
| 195 |
f"python esm/scripts/extract.py esm2_t33_650M_UR50D {out_file} data/esm2_output --repr_layers 33 --include per_tok",
|