Jobanpreet commited on
Commit
0a9ead7
·
verified ·
1 Parent(s): d133580

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
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:")