Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -49,11 +49,11 @@ def make_scaffold_motifs(pdb_code, start_idx, end_idx, scaffold_length, model_ty
|
|
49 |
if model_type == "EvoDiff-Seq":
|
50 |
checkpoint = OA_DM_38M()
|
51 |
model, collater, tokenizer, scheme = checkpoint
|
52 |
-
data_top_dir = '/home/user/
|
53 |
-
print("Current Directory Path:", os.getcwd())
|
54 |
-
print("Folders in Current Directory:", os.listdir())
|
55 |
-
print("Folders in User Directory:", os.listdir("/home/user/"))
|
56 |
-
print("Folders in User Cache Directory:", os.listdir("/home/user/.cache"))
|
57 |
start_idx = list(map(int, start_idx.strip('][').split(',')))
|
58 |
end_idx = list(map(int, end_idx.strip('][').split(',')))
|
59 |
generated_sequence, new_start_idx, new_end_idx = generate_scaffold(model, pdb_code, start_idx, end_idx, scaffold_length, data_top_dir, tokenizer, device='cpu')
|
|
|
49 |
if model_type == "EvoDiff-Seq":
|
50 |
checkpoint = OA_DM_38M()
|
51 |
model, collater, tokenizer, scheme = checkpoint
|
52 |
+
data_top_dir = '/home/user/.cache/'
|
53 |
+
# print("Current Directory Path:", os.getcwd())
|
54 |
+
# print("Folders in Current Directory:", os.listdir())
|
55 |
+
# print("Folders in User Directory:", os.listdir("/home/user/"))
|
56 |
+
# print("Folders in User Cache Directory:", os.listdir("/home/user/.cache"))
|
57 |
start_idx = list(map(int, start_idx.strip('][').split(',')))
|
58 |
end_idx = list(map(int, end_idx.strip('][').split(',')))
|
59 |
generated_sequence, new_start_idx, new_end_idx = generate_scaffold(model, pdb_code, start_idx, end_idx, scaffold_length, data_top_dir, tokenizer, device='cpu')
|