Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -851,7 +851,10 @@ def main():
|
|
| 851 |
# Display the cloned document in JSON format with a prompt to edit
|
| 852 |
cloned_doc_str = st.text_area("Cloned Document Content (in JSON format) - You can edit before saving!",
|
| 853 |
value=str(cloned_doc), height=300)
|
| 854 |
-
|
|
|
|
|
|
|
|
|
|
| 855 |
st.markdown("#### Edit Cloned Document and Name Your Clone:")
|
| 856 |
|
| 857 |
# Allow user to save the cloned document
|
|
|
|
| 851 |
# Display the cloned document in JSON format with a prompt to edit
|
| 852 |
cloned_doc_str = st.text_area("Cloned Document Content (in JSON format) - You can edit before saving!",
|
| 853 |
value=str(cloned_doc), height=300)
|
| 854 |
+
cloned_doc_str = cloned_doc_str.replace("'id': None,", "'id': 'test123',")
|
| 855 |
+
st.write(cloned_doc_str)
|
| 856 |
+
|
| 857 |
+
|
| 858 |
st.markdown("#### Edit Cloned Document and Name Your Clone:")
|
| 859 |
|
| 860 |
# Allow user to save the cloned document
|