Spaces:
Sleeping
Sleeping
Commit
·
d6d6c3a
1
Parent(s):
887760c
Update code/add_sasa.py
Browse files- code/add_sasa.py +2 -2
code/add_sasa.py
CHANGED
|
@@ -9,7 +9,7 @@ from pathlib import Path
|
|
| 9 |
import gzip
|
| 10 |
import shutil
|
| 11 |
from huggingface_hub import HfApi
|
| 12 |
-
|
| 13 |
|
| 14 |
|
| 15 |
def run_freesasa(infile, outfile, include_hetatms=True, outdir=None, force_rerun=False, file_type = 'gzip'):
|
|
@@ -47,7 +47,7 @@ def run_freesasa(infile, outfile, include_hetatms=True, outdir=None, force_rerun
|
|
| 47 |
st.write('OUT')
|
| 48 |
st.write(outfile)
|
| 49 |
api = HfApi()
|
| 50 |
-
st.
|
| 51 |
st.write(api)
|
| 52 |
api.upload_file(
|
| 53 |
path_or_fileobj=outfile,
|
|
|
|
| 9 |
import gzip
|
| 10 |
import shutil
|
| 11 |
from huggingface_hub import HfApi
|
| 12 |
+
import streamlit as st
|
| 13 |
|
| 14 |
|
| 15 |
def run_freesasa(infile, outfile, include_hetatms=True, outdir=None, force_rerun=False, file_type = 'gzip'):
|
|
|
|
| 47 |
st.write('OUT')
|
| 48 |
st.write(outfile)
|
| 49 |
api = HfApi()
|
| 50 |
+
st.write('API')
|
| 51 |
st.write(api)
|
| 52 |
api.upload_file(
|
| 53 |
path_or_fileobj=outfile,
|