Spaces:
Sleeping
Sleeping
Commit
·
13a42f6
1
Parent(s):
17ccbe1
Update ASCARIS.py
Browse files- ASCARIS.py +9 -1
ASCARIS.py
CHANGED
@@ -15,7 +15,15 @@ showWarningOnDirectExecution = False
|
|
15 |
from huggingface_hub import hf_hub_download
|
16 |
import streamlit as st
|
17 |
import gzip
|
18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
def convert_df(df):
|
20 |
return df.to_csv(index=False).encode('utf-8')
|
21 |
|
|
|
15 |
from huggingface_hub import hf_hub_download
|
16 |
import streamlit as st
|
17 |
import gzip
|
18 |
+
try:
|
19 |
+
x = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename=f"AF-Q9BSV6-F1-model_v4.pdb.gz",repo_type = 'dataset')
|
20 |
+
st.write('1')
|
21 |
+
except EntryNotFoundError:
|
22 |
+
x = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures2", filename=f"AF-Q9BSV6-F1-model_v4.pdb.gz",repo_type = 'dataset')
|
23 |
+
st.write('1')
|
24 |
+
except EntryNotFoundError:
|
25 |
+
x = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures3", filename=f"AF-Q9BSV6-F1-model_v4.pdb.gz",repo_type = 'dataset')
|
26 |
+
st.write('1')
|
27 |
def convert_df(df):
|
28 |
return df.to_csv(index=False).encode('utf-8')
|
29 |
|