awacke1 commited on
Commit
6029064
Β·
verified Β·
1 Parent(s): d4c44f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -738,6 +738,7 @@ def display_file_manager():
738
  if st.button("🌐", key="view_"+file):
739
  st.session_state.current_file = file
740
  st.session_state.file_content = load_file(file)
 
741
  with col2:
742
  st.markdown(get_download_link(file), unsafe_allow_html=True)
743
  with col3:
@@ -818,6 +819,14 @@ def set_transcript(text):
818
 
819
  def main():
820
  st.sidebar.markdown("### 🚲BikeAIπŸ† Claude and GPT Multi-Agent Research AI")
 
 
 
 
 
 
 
 
821
  # Main navigation
822
  tab_main = st.radio("Choose Action:",
823
  ["🎀 Voice Input", "πŸ“Έ Media Gallery", "πŸ” Search ArXiv", "πŸ“ File Editor"],
 
738
  if st.button("🌐", key="view_"+file):
739
  st.session_state.current_file = file
740
  st.session_state.file_content = load_file(file)
741
+ markdown_target.markdown(st.session_state.file_content) # view 🌐
742
  with col2:
743
  st.markdown(get_download_link(file), unsafe_allow_html=True)
744
  with col3:
 
819
 
820
  def main():
821
  st.sidebar.markdown("### 🚲BikeAIπŸ† Claude and GPT Multi-Agent Research AI")
822
+
823
+ # markdown target for viewing files in markdown (number one feature)
824
+ markdown_target = st.empty()
825
+
826
+
827
+
828
+
829
+
830
  # Main navigation
831
  tab_main = st.radio("Choose Action:",
832
  ["🎀 Voice Input", "πŸ“Έ Media Gallery", "πŸ” Search ArXiv", "πŸ“ File Editor"],