Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -696,8 +696,8 @@ def main():
|
|
696 |
st.session_state.clone_mode = True
|
697 |
st.rerun()
|
698 |
if st.session_state.get('clone_mode', False):
|
699 |
-
st.markdown("#### Edit Cloned Document:")
|
700 |
-
cloned_doc_str = st.text_area("Cloned Document Content (in JSON format)", value=st.session_state.cloned_doc_str, height=300)
|
701 |
if st.button("💾 Save Cloned Document"):
|
702 |
try:
|
703 |
new_doc = json.loads(cloned_doc_str)
|
|
|
696 |
st.session_state.clone_mode = True
|
697 |
st.rerun()
|
698 |
if st.session_state.get('clone_mode', False):
|
699 |
+
st.markdown("#### Edit Cloned Document and Name Your Clone:")
|
700 |
+
cloned_doc_str = st.text_area("Cloned Document Content (in JSON format) - Update name please to make it unique before saving!", value=st.session_state.cloned_doc_str, height=300)
|
701 |
if st.button("💾 Save Cloned Document"):
|
702 |
try:
|
703 |
new_doc = json.loads(cloned_doc_str)
|