Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -644,7 +644,7 @@ def main():
|
|
644 |
if documents_to_display:
|
645 |
# 🎨 View options - "Different strokes for different folks"
|
646 |
view_options = ['Show as Markdown', 'Show as Code Editor',
|
647 |
-
'Show as Edit
|
648 |
selected_view = st.sidebar.selectbox("Select Viewer/Editor", view_options, index=2)
|
649 |
|
650 |
# 📄 Markdown view - "Mark it down, mark it up"
|
@@ -776,7 +776,7 @@ def main():
|
|
776 |
|
777 |
|
778 |
with col_ai:
|
779 |
-
if st.button("🤖 Run
|
780 |
search_glossary(json.dumps(editable_doc, indent=2))
|
781 |
if st.button("📄 Clone Document", key=f'clone_button_{idx}'):
|
782 |
with st.spinner("Cloning document..."):
|
|
|
644 |
if documents_to_display:
|
645 |
# 🎨 View options - "Different strokes for different folks"
|
646 |
view_options = ['Show as Markdown', 'Show as Code Editor',
|
647 |
+
'Show as Edit, Save, Run AI', 'Clone Document', 'New Record']
|
648 |
selected_view = st.sidebar.selectbox("Select Viewer/Editor", view_options, index=2)
|
649 |
|
650 |
# 📄 Markdown view - "Mark it down, mark it up"
|
|
|
776 |
|
777 |
|
778 |
with col_ai:
|
779 |
+
if st.button("🤖 Run AI", key=f'run_with_ai_button_{idx}'):
|
780 |
search_glossary(json.dumps(editable_doc, indent=2))
|
781 |
if st.button("📄 Clone Document", key=f'clone_button_{idx}'):
|
782 |
with st.spinner("Cloning document..."):
|