Spaces:
Sleeping
Sleeping
Update demo.py
Browse files
demo.py
CHANGED
@@ -34,7 +34,7 @@ def download(filename,description):
|
|
34 |
import pandas as pd
|
35 |
def display(output,style,resn):
|
36 |
# imformation
|
37 |
-
protein=Protein.from_PDB(output)
|
38 |
st.subheader("Protein Information:")
|
39 |
st.write(f"Device: {protein.device}")
|
40 |
st.write(f"Protein Length: {len(protein)} residues")
|
|
|
34 |
import pandas as pd
|
35 |
def display(output,style,resn):
|
36 |
# imformation
|
37 |
+
protein=Protein.from_PDB(output,device=device)
|
38 |
st.subheader("Protein Information:")
|
39 |
st.write(f"Device: {protein.device}")
|
40 |
st.write(f"Protein Length: {len(protein)} residues")
|