Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -147,10 +147,10 @@ def main():
|
|
| 147 |
|
| 148 |
|
| 149 |
paraphrase_text=st.text_area("Paraphrase:", value=session_state.paraphrase, height=400)
|
| 150 |
-
import pyperclip
|
| 151 |
-
if st.button('Copy'):
|
| 152 |
-
|
| 153 |
-
|
| 154 |
|
| 155 |
if st.sidebar.button("Show Keywords") and session_state.keywords:
|
| 156 |
st.write("Keywords:")
|
|
|
|
| 147 |
|
| 148 |
|
| 149 |
paraphrase_text=st.text_area("Paraphrase:", value=session_state.paraphrase, height=400)
|
| 150 |
+
# import pyperclip
|
| 151 |
+
# if st.button('Copy'): # For copying the content (Also install xclip (debian package) if error occured)
|
| 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:")
|