Spaces:
Sleeping
Sleeping
Commit
·
0c133ce
1
Parent(s):
85e51d9
Update ASCARIS.py
Browse files- ASCARIS.py +2 -2
ASCARIS.py
CHANGED
|
@@ -16,7 +16,7 @@ from huggingface_hub import hf_hub_download
|
|
| 16 |
import streamlit as st
|
| 17 |
import gzip
|
| 18 |
|
| 19 |
-
|
| 20 |
mod = 1
|
| 21 |
name = 'A0A075B6Y9'
|
| 22 |
pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename=f"AF-{name}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
|
|
@@ -27,7 +27,7 @@ with gzip.open(pdb_path, mode="rt") as f:
|
|
| 27 |
file_content = f.read()
|
| 28 |
st.write(file_content)
|
| 29 |
st.write('REH')
|
| 30 |
-
|
| 31 |
|
| 32 |
def convert_df(df):
|
| 33 |
return df.to_csv(index=False).encode('utf-8')
|
|
|
|
| 16 |
import streamlit as st
|
| 17 |
import gzip
|
| 18 |
|
| 19 |
+
|
| 20 |
mod = 1
|
| 21 |
name = 'A0A075B6Y9'
|
| 22 |
pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename=f"AF-{name}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
|
|
|
|
| 27 |
file_content = f.read()
|
| 28 |
st.write(file_content)
|
| 29 |
st.write('REH')
|
| 30 |
+
|
| 31 |
|
| 32 |
def convert_df(df):
|
| 33 |
return df.to_csv(index=False).encode('utf-8')
|