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 unique 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 |
|
|
|
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 unique protein using #GenPro2 by @WandsAI using the seed words #{word1}, #{word2}, #{word3} + sequence length of {length}. My Protein has a {plddt}% plDDT score! #PostYourProtein"
|
132 |
tweet_url = f"https://twitter.com/intent/tweet?text={urllib.parse.quote(tweet_text)}"
|
133 |
return tweet_url
|
134 |
|