Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -814,7 +814,9 @@ def main():
|
|
814 |
# Displaying document IDs and clone buttons
|
815 |
for idx, doc in enumerate(documents_to_display):
|
816 |
st.markdown(f"##### Document ID: {doc.get('id', '')}")
|
817 |
-
|
|
|
|
|
818 |
# Button to initiate cloning of the document
|
819 |
if st.button("📄 Clone Document", key=f'clone_button_{idx}'):
|
820 |
with st.spinner("Cloning document..."):
|
|
|
814 |
# Displaying document IDs and clone buttons
|
815 |
for idx, doc in enumerate(documents_to_display):
|
816 |
st.markdown(f"##### Document ID: {doc.get('id', '')}")
|
817 |
+
|
818 |
+
clone_id = doc.get('id', '')
|
819 |
+
|
820 |
# Button to initiate cloning of the document
|
821 |
if st.button("📄 Clone Document", key=f'clone_button_{idx}'):
|
822 |
with st.spinner("Cloning document..."):
|