Spaces:
Sleeping
Sleeping
Commit ·
81d8138
1
Parent(s): b70ea69
Update code/main.py
Browse files- code/main.py +7 -1
code/main.py
CHANGED
|
@@ -3,7 +3,13 @@ import alphafold_featureVector
|
|
| 3 |
import argparse
|
| 4 |
from huggingface_hub import hf_hub_download
|
| 5 |
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
import gzip
|
| 8 |
st.write('HER')
|
| 9 |
with gzip.open(pdb_path, mode="rt") as f:
|
|
|
|
| 3 |
import argparse
|
| 4 |
from huggingface_hub import hf_hub_download
|
| 5 |
|
| 6 |
+
from huggingface_hub import hf_hub_download
|
| 7 |
+
path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename="AF-A0A075B6Y9-F1-model_v4.pdb.gz",repo_type = 'dataset')
|
| 8 |
+
|
| 9 |
+
st.write(path)
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
pdb_path= hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures",repo_type = 'dataset', filename="AF-A0A075B6Y9-F1-model_v4.pdb.gz")
|
| 13 |
import gzip
|
| 14 |
st.write('HER')
|
| 15 |
with gzip.open(pdb_path, mode="rt") as f:
|