awacke1 commited on
Commit
e88191e
·
verified ·
1 Parent(s): c57a17c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 and Save', '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,7 +776,7 @@ def main():
776
 
777
 
778
  with col_ai:
779
- if st.button("🤖 Run With 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..."):
 
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..."):