Update app.py
Browse files
app.py
CHANGED
@@ -128,7 +128,7 @@ def update(sequence, word1, word2, word3, sequence_length):
|
|
128 |
st.write("Please try again later or contact support if the issue persists.")
|
129 |
|
130 |
def share_on_twitter(word1, word2, word3, length, plddt):
|
131 |
-
tweet_text = f"I just generated a new protein using #GenPro2 by @WandsAI
|
132 |
tweet_url = f"https://twitter.com/intent/tweet?text={urllib.parse.quote(tweet_text)}"
|
133 |
return tweet_url
|
134 |
|
@@ -140,7 +140,7 @@ if 'show_analyze_button' not in st.session_state:
|
|
140 |
if 'structure_info' not in st.session_state:
|
141 |
st.session_state.structure_info = None
|
142 |
|
143 |
-
st.title("User
|
144 |
|
145 |
st.sidebar.subheader("Generate Sequence from Words")
|
146 |
word1 = st.sidebar.text_input("Word 1")
|
|
|
128 |
st.write("Please try again later or contact support if the issue persists.")
|
129 |
|
130 |
def share_on_twitter(word1, word2, word3, length, plddt):
|
131 |
+
tweet_text = f"I just generated a new protein using #GenPro2 by @WandsAI using the seed words #{word1}, #{word2}, #{word3} + sequence length of {length}. My Protein has a {plddt}% plDDT score!"
|
132 |
tweet_url = f"https://twitter.com/intent/tweet?text={urllib.parse.quote(tweet_text)}"
|
133 |
return tweet_url
|
134 |
|
|
|
140 |
if 'structure_info' not in st.session_state:
|
141 |
st.session_state.structure_info = None
|
142 |
|
143 |
+
st.title("📖 User Guide:")
|
144 |
|
145 |
st.sidebar.subheader("Generate Sequence from Words")
|
146 |
word1 = st.sidebar.text_input("Word 1")
|