Update app.py
Browse files
app.py
CHANGED
@@ -109,7 +109,7 @@ def update(sequence, word1, word2, word3, sequence_length):
|
|
109 |
st.write("Please try again later or contact support if the issue persists.")
|
110 |
|
111 |
def share_on_twitter(word1, word2, word3, length, plddt):
|
112 |
-
tweet_text = f"I just generated a new protein using #GenPro2
|
113 |
tweet_url = f"https://twitter.com/intent/tweet?text={urllib.parse.quote(tweet_text)}"
|
114 |
return tweet_url
|
115 |
|
|
|
109 |
st.write("Please try again later or contact support if the issue persists.")
|
110 |
|
111 |
def share_on_twitter(word1, word2, word3, length, plddt):
|
112 |
+
tweet_text = f"I just generated a new protein using #GenPro2 by @WandsAI using the seed-words '#{word1}', '#{word2}', and '#{word3}' + sequence length of {length}! It's plDDT Score is: {plddt}%."
|
113 |
tweet_url = f"https://twitter.com/intent/tweet?text={urllib.parse.quote(tweet_text)}"
|
114 |
return tweet_url
|
115 |
|