Update app.py
Browse files
app.py
CHANGED
@@ -15,8 +15,8 @@ import urllib.parse
|
|
15 |
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
|
16 |
|
17 |
st.set_page_config(layout='wide')
|
18 |
-
st.sidebar.title('🔮 GenPro2
|
19 |
-
st.sidebar.write('beta v2.12
|
20 |
|
21 |
def generate_sequence_from_words(words, length):
|
22 |
seed = ' '.join(words).encode('utf-8')
|
@@ -121,7 +121,7 @@ if 'show_analyze_button' not in st.session_state:
|
|
121 |
if 'structure_info' not in st.session_state:
|
122 |
st.session_state.structure_info = None
|
123 |
|
124 |
-
st.title("
|
125 |
|
126 |
st.sidebar.subheader("Generate Sequence from Words")
|
127 |
word1 = st.sidebar.text_input("Word 1")
|
@@ -129,13 +129,7 @@ word2 = st.sidebar.text_input("Word 2")
|
|
129 |
word3 = st.sidebar.text_input("Word 3")
|
130 |
sequence_length = st.sidebar.number_input("Sequence Length", min_value=50, max_value=400, value=100, step=10)
|
131 |
|
132 |
-
st.markdown("""
|
133 |
-
## About:
|
134 |
-
GenPro2 is an end-to-end protein sequence generator, structure predictor, and analysis that uses [*ESMFold*](https://esmatlas.com/about) and the ESM-2 language model.
|
135 |
-
|
136 |
|
137 |
-
## How to get started:
|
138 |
-
""")
|
139 |
# Information for users
|
140 |
st.info("""
|
141 |
Protein Length Guide:
|
@@ -150,9 +144,8 @@ st.markdown("""
|
|
150 |
2. Click 'Generate and Predict' to generate a unique protein sequence based on your inputs.
|
151 |
3. GenPro2 then predicts the 3D structure of your protein and provides a confidence score.
|
152 |
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
""")
|
157 |
|
158 |
if st.sidebar.button('Generate and Predict'):
|
|
|
15 |
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
|
16 |
|
17 |
st.set_page_config(layout='wide')
|
18 |
+
st.sidebar.title('🔮 GenPro2')
|
19 |
+
st.sidebar.write('GenPro2 is an end-to-end protein sequence generator, structure predictor, and analysis that uses ESMFold and the ESM-2 language model | beta v2.12')
|
20 |
|
21 |
def generate_sequence_from_words(words, length):
|
22 |
seed = ' '.join(words).encode('utf-8')
|
|
|
121 |
if 'structure_info' not in st.session_state:
|
122 |
st.session_state.structure_info = None
|
123 |
|
124 |
+
st.title("User Guider:")
|
125 |
|
126 |
st.sidebar.subheader("Generate Sequence from Words")
|
127 |
word1 = st.sidebar.text_input("Word 1")
|
|
|
129 |
word3 = st.sidebar.text_input("Word 3")
|
130 |
sequence_length = st.sidebar.number_input("Sequence Length", min_value=50, max_value=400, value=100, step=10)
|
131 |
|
|
|
|
|
|
|
|
|
132 |
|
|
|
|
|
133 |
# Information for users
|
134 |
st.info("""
|
135 |
Protein Length Guide:
|
|
|
144 |
2. Click 'Generate and Predict' to generate a unique protein sequence based on your inputs.
|
145 |
3. GenPro2 then predicts the 3D structure of your protein and provides a confidence score.
|
146 |
|
147 |
+
More about GenPro2:
|
148 |
+
Your unique protein could be the key to unlocking new therapeutic possibilities or understanding disease mechanisms. Who knows? Your next generated sequence might just lead to a breakthrough. Start your journey into computational protein exploration!
|
|
|
149 |
""")
|
150 |
|
151 |
if st.sidebar.button('Generate and Predict'):
|