Accelernate commited on
Commit
8397713
·
verified ·
1 Parent(s): a5a0365

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -12
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 Protein AI Generator, Structure Predictor, and Analysis Tool')
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("🔮 GenPro2 Protein Discovery & Anlaysis")
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
- GenPro2 offers a unique, hands-on way to generate, visualize, and analyze novel protein sequences. By generating and analyzing novel protein structures, you're stepping into the world of computational drug discovery. Your unique protein could be the key to unlocking new therapeutic possibilities or understanding disease mechanisms. Whether you're a student, PhD researcher, or enthusiast, GenPro2 offers a user-friendly platform to explore the vast potential of protein structures. Who knows? Your next generated sequence might just lead to a breakthrough.
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'):