awacke1 commited on
Commit
ff2cad3
Β·
verified Β·
1 Parent(s): 591c0ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -649,7 +649,7 @@ def main():
649
 
650
 
651
  if selected_view == 'Show as Markdown':
652
- Label = '# πŸ“„ Markdown view - Mark it down, mark it up'
653
  st.markdown(Label)
654
  total_docs = len(documents)
655
  doc = documents[st.session_state.current_index]
@@ -692,7 +692,7 @@ def main():
692
 
693
 
694
  elif selected_view == 'Show as Code Editor':
695
- Label = '# πŸ’» Code editor view'
696
  st.markdown(Label)
697
  total_docs = len(documents)
698
  doc = documents[st.session_state.current_index]
@@ -743,7 +743,7 @@ def main():
743
 
744
 
745
  elif selected_view == 'Show as Run AI':
746
- Label = '# ✏️ Run AI with wisdom, save with precision'
747
  st.markdown(Label)
748
  num_cols = len(documents_to_display)
749
  cols = st.columns(num_cols)
@@ -889,7 +889,7 @@ def main():
889
  st.subheader(f"πŸ“Š Container: {st.session_state.selected_container}")
890
  if st.session_state.selected_container:
891
  if documents_to_display:
892
- Label = '# πŸ“Š Data display - Data tells tales that words cannot'
893
  st.markdown(Label)
894
  df = pd.DataFrame(documents_to_display)
895
  st.dataframe(df)
@@ -897,7 +897,7 @@ def main():
897
  st.info("No documents to display. 🧐")
898
 
899
 
900
- Label = '# πŸ™ GitHub integration - Git happens'
901
  st.subheader("πŸ™ GitHub Operations")
902
  github_token = os.environ.get("GITHUB")
903
  source_repo = st.text_input("Source GitHub Repository URL",
@@ -953,7 +953,7 @@ def main():
953
  user_input = st.text_area("Message πŸ“¨:", height=100)
954
 
955
  if st.button("Send πŸ“¨"):
956
- Label = '# πŸ’¬ Chat functionality - Every chat is a chance to learn'
957
  st.markdown(Label)
958
  if user_input:
959
  response = client.messages.create(
@@ -1034,7 +1034,7 @@ def main():
1034
  st.error(f"An unexpected error occurred: {str(e)} 😱")
1035
 
1036
  if st.session_state.logged_in and st.sidebar.button("πŸšͺ Logout"):
1037
- Label = '# πŸšͺ Logout - All good things must come to an end'
1038
  st.markdown(Label)
1039
  st.session_state.logged_in = False
1040
  st.session_state.selected_records.clear()
 
649
 
650
 
651
  if selected_view == 'Show as Markdown':
652
+ Label = '#### πŸ“„ Markdown view - Mark it down, mark it up'
653
  st.markdown(Label)
654
  total_docs = len(documents)
655
  doc = documents[st.session_state.current_index]
 
692
 
693
 
694
  elif selected_view == 'Show as Code Editor':
695
+ Label = '#### πŸ’» Code editor view'
696
  st.markdown(Label)
697
  total_docs = len(documents)
698
  doc = documents[st.session_state.current_index]
 
743
 
744
 
745
  elif selected_view == 'Show as Run AI':
746
+ Label = '#### ✏️ Run AI with wisdom, save with precision'
747
  st.markdown(Label)
748
  num_cols = len(documents_to_display)
749
  cols = st.columns(num_cols)
 
889
  st.subheader(f"πŸ“Š Container: {st.session_state.selected_container}")
890
  if st.session_state.selected_container:
891
  if documents_to_display:
892
+ Label = '#### πŸ“Š Data display - Data tells tales that words cannot'
893
  st.markdown(Label)
894
  df = pd.DataFrame(documents_to_display)
895
  st.dataframe(df)
 
897
  st.info("No documents to display. 🧐")
898
 
899
 
900
+ Label = '#### πŸ™ GitHub integration - Git happens'
901
  st.subheader("πŸ™ GitHub Operations")
902
  github_token = os.environ.get("GITHUB")
903
  source_repo = st.text_input("Source GitHub Repository URL",
 
953
  user_input = st.text_area("Message πŸ“¨:", height=100)
954
 
955
  if st.button("Send πŸ“¨"):
956
+ Label = '#### πŸ’¬ Chat functionality - Every chat is a chance to learn'
957
  st.markdown(Label)
958
  if user_input:
959
  response = client.messages.create(
 
1034
  st.error(f"An unexpected error occurred: {str(e)} 😱")
1035
 
1036
  if st.session_state.logged_in and st.sidebar.button("πŸšͺ Logout"):
1037
+ Label = '#### πŸšͺ Logout - All good things must come to an end'
1038
  st.markdown(Label)
1039
  st.session_state.logged_in = False
1040
  st.session_state.selected_records.clear()