Spaces:
Sleeping
Sleeping
Limit sequence input length to 400
Browse files
hexviz/🧬Attention_Visualization.py
CHANGED
@@ -23,7 +23,7 @@ models = [
|
|
23 |
with st.expander("Input a PDB id, upload a PDB file or input a sequence", expanded=True):
|
24 |
pdb_id = select_pdb()
|
25 |
uploaded_file = st.file_uploader("2.Upload PDB", type=["pdb"])
|
26 |
-
input_sequence = st.text_area("3.Input sequence", "")
|
27 |
pdb_str, structure, source = select_protein(pdb_id, uploaded_file, input_sequence)
|
28 |
st.write(f"Visualizing: {source}")
|
29 |
|
|
|
23 |
with st.expander("Input a PDB id, upload a PDB file or input a sequence", expanded=True):
|
24 |
pdb_id = select_pdb()
|
25 |
uploaded_file = st.file_uploader("2.Upload PDB", type=["pdb"])
|
26 |
+
input_sequence = st.text_area("3.Input sequence", "", max_chars=400)
|
27 |
pdb_str, structure, source = select_protein(pdb_id, uploaded_file, input_sequence)
|
28 |
st.write(f"Visualizing: {source}")
|
29 |
|