awacke1 commited on
Commit
fd64b34
Β·
verified Β·
1 Parent(s): 9dff9b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -1
app.py CHANGED
@@ -26,6 +26,20 @@ import requests
26
  import numpy as np
27
  from urllib.parse import quote
28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  # %% ───────────── APP CONFIGURATION ─────────────
30
  Site_Name = 'πŸ™ GitCosmos'
31
  title = "πŸ™ GitCosmos"
@@ -421,6 +435,13 @@ def update_file_management_section():
421
  st.session_state.current_file = None
422
  st.session_state.file_view_mode = None
423
  st.rerun()
 
 
 
 
 
 
 
424
  if st.session_state.current_file:
425
  if st.session_state.file_view_mode == 'view':
426
  display_file_viewer(st.session_state.current_file)
@@ -792,4 +813,4 @@ def main():
792
  st.rerun()
793
 
794
  if __name__ == "__main__":
795
- main()
 
26
  import numpy as np
27
  from urllib.parse import quote
28
 
29
+ # External help links for AI tools
30
+ external_links = [
31
+ {"title": "MergeKit Official GitHub", "url": "https://github.com/arcee-ai/MergeKit", "emoji": "πŸ’»"},
32
+ {"title": "MergeKit arXiv Paper", "url": "https://arxiv.org/abs/xxxx.xxxxx", "emoji": "πŸ“˜"},
33
+ {"title": "MergeKit Tutorial", "url": "https://huggingface.co/blog/mergekit-tutorial", "emoji": "✍️"},
34
+ {"title": "MergeKit Sample Usage", "url": "https://github.com/arcee-ai/MergeKit#examples", "emoji": "πŸ“š"},
35
+ {"title": "DistillKit Official GitHub", "url": "https://github.com/arcee-ai/DistillKit", "emoji": "πŸ’»"},
36
+ {"title": "DistillKit Announcing Blog Post", "url": "https://arcee.ai/blog/distillkit-announcement", "emoji": "✍️"},
37
+ {"title": "DistillKit Sample Usage", "url": "https://github.com/arcee-ai/DistillKit#usage", "emoji": "πŸ“š"},
38
+ {"title": "Spectrum Hugging Face Blog Post", "url": "https://huggingface.co/blog/spectrum", "emoji": "✍️"},
39
+ {"title": "Hugging Face Model Merging Docs", "url": "https://huggingface.co/docs/peft/model_merging", "emoji": "πŸ“š"},
40
+ {"title": "arcee.ai Official Website", "url": "https://arcee.ai", "emoji": "🌐"},
41
+ ]
42
+
43
  # %% ───────────── APP CONFIGURATION ─────────────
44
  Site_Name = 'πŸ™ GitCosmos'
45
  title = "πŸ™ GitCosmos"
 
435
  st.session_state.current_file = None
436
  st.session_state.file_view_mode = None
437
  st.rerun()
438
+
439
+ # ───── External Help Links Section ─────
440
+ st.sidebar.markdown("---")
441
+ st.sidebar.title("External Help Links")
442
+ for link in external_links:
443
+ st.sidebar.markdown(f"{link['emoji']} [{link['title']}]({link['url']})", unsafe_allow_html=True)
444
+
445
  if st.session_state.current_file:
446
  if st.session_state.file_view_mode == 'view':
447
  display_file_viewer(st.session_state.current_file)
 
813
  st.rerun()
814
 
815
  if __name__ == "__main__":
816
+ main()