Spaces:
Sleeping
Sleeping
fatmacankara
commited on
Commit
·
48a30b6
1
Parent(s):
f2a0596
Update ASCARIS.py
Browse files- ASCARIS.py +19 -0
ASCARIS.py
CHANGED
@@ -12,6 +12,25 @@ from st_aggrid import AgGrid, GridOptionsBuilder, JsCode,GridUpdateMode
|
|
12 |
import base64
|
13 |
showWarningOnDirectExecution = False
|
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
|
17 |
def convert_df(df):
|
|
|
12 |
import base64
|
13 |
showWarningOnDirectExecution = False
|
14 |
|
15 |
+
from huggingface_hub import hf_hub_download
|
16 |
+
import streamlit as st
|
17 |
+
import gzip
|
18 |
+
|
19 |
+
print('I AM HERE GOD DAMN IT')
|
20 |
+
st.write('I AM HERE GOD DAMN IT')
|
21 |
+
|
22 |
+
path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename="AF-A0A075B6Y9-F1-model_v4.pdb.gz",repo_type = 'dataset')
|
23 |
+
|
24 |
+
st.write(path)
|
25 |
+
|
26 |
+
|
27 |
+
pdb_path= hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures",repo_type = 'dataset', filename="AF-A0A075B6Y9-F1-model_v4.pdb.gz")
|
28 |
+
|
29 |
+
st.write('HER')
|
30 |
+
with gzip.open(pdb_path, mode="rt") as f:
|
31 |
+
file_content = f.read()
|
32 |
+
st.write(file_content)
|
33 |
+
st.write('REH')
|
34 |
|
35 |
|
36 |
def convert_df(df):
|