Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -146,7 +146,11 @@ def main():
|
|
146 |
st.sidebar.error("Put a valid LinkedIn post URL only")
|
147 |
|
148 |
|
149 |
-
st.text_area("Paraphrase:", value=session_state.paraphrase, height=400)
|
|
|
|
|
|
|
|
|
150 |
|
151 |
if st.sidebar.button("Show Keywords") and session_state.keywords:
|
152 |
st.write("Keywords:")
|
|
|
146 |
st.sidebar.error("Put a valid LinkedIn post URL only")
|
147 |
|
148 |
|
149 |
+
paraphrase_text=st.text_area("Paraphrase:", value=session_state.paraphrase, height=400)
|
150 |
+
import pyperclip
|
151 |
+
if st.button('Copy'):
|
152 |
+
pyperclip.copy(paraphrase_text)
|
153 |
+
st.success('Text copied successfully!')
|
154 |
|
155 |
if st.sidebar.button("Show Keywords") and session_state.keywords:
|
156 |
st.write("Keywords:")
|