Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -70,6 +70,8 @@ headers = {
|
|
70 |
"Authorization": f"Bearer {HF_KEY}",
|
71 |
"Content-Type": "application/json"
|
72 |
}
|
|
|
|
|
73 |
|
74 |
|
75 |
|
@@ -738,6 +740,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 |
markdown_target.markdown(st.session_state.file_content) # view ๐
|
742 |
with col2:
|
743 |
st.markdown(get_download_link(file), unsafe_allow_html=True)
|
@@ -820,9 +823,6 @@ def set_transcript(text):
|
|
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 |
|
|
|
70 |
"Authorization": f"Bearer {HF_KEY}",
|
71 |
"Content-Type": "application/json"
|
72 |
}
|
73 |
+
# markdown target for viewing files in markdown (number one feature)
|
74 |
+
markdown_target = st.empty()
|
75 |
|
76 |
|
77 |
|
|
|
740 |
if st.button("๐", key="view_"+file):
|
741 |
st.session_state.current_file = file
|
742 |
st.session_state.file_content = load_file(file)
|
743 |
+
st.write(file)
|
744 |
markdown_target.markdown(st.session_state.file_content) # view ๐
|
745 |
with col2:
|
746 |
st.markdown(get_download_link(file), unsafe_allow_html=True)
|
|
|
823 |
def main():
|
824 |
st.sidebar.markdown("### ๐ฒBikeAI๐ Claude and GPT Multi-Agent Research AI")
|
825 |
|
|
|
|
|
|
|
826 |
|
827 |
|
828 |
|