Spaces:
Running
Running
Update app.py
Browse files
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"],
|