acecalisto3 commited on
Commit
65d655c
·
verified ·
1 Parent(s): 29270e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -19
app.py CHANGED
@@ -3,7 +3,7 @@ import streamlit as st
3
  import os
4
 
5
  # Import components and pages
6
- from components import home, refactor_page, style_page, test_page
7
  lang_page, code_documentation_page, database_page, optimize_page, \
8
  model_trainer_page, notebook_integration_page, xai_page, \
9
  versioning_tracker_page, nlp_nlg_page, devops_page, api_doc_page, \
@@ -33,24 +33,13 @@ else:
33
  )
34
 
35
  # Show the navigation menu
36
- selected = option_menu(
37
- menu_title="CodeCraftGPT",
38
- options=[
39
- "Home", "RefactorRite", "StyleSculpt",
40
- "TestGenius", "LangLink", "CodeDocGenius", "Database", "AutoOptimizer",
41
- "ModelTrainer", "NotebookIntegration", "ExplainableAI", "DataVersioning",
42
- "NLPandNLG", "DevOps", "APIDocGen", "CodeReviewAssistant",
43
- "VersionControl", "RecommendationSystem", "CodeSecurityScanner",
44
- "CodeDiagramConverter"
45
- ],
46
- icons=[
47
- 'house', 'gear', 'palette', 'clipboard2-pulse',
48
- 'code-slash', 'file-text', 'database', 'diagram-3',
49
- 'diagram-project', 'diagram-3', 'diagram-3', 'diagram-3',
50
- 'diagram-3', 'gear', 'file-text', 'file-code',
51
- 'screwdriver-wrench', 'file-text', 'diagram-3', 'diagram-3',
52
- 'code-fork'
53
- ],
54
  default_index=0
55
  )
56
 
 
3
  import os
4
 
5
  # Import components and pages
6
+ from components import home, refactor_page, style_page, test_page, \
7
  lang_page, code_documentation_page, database_page, optimize_page, \
8
  model_trainer_page, notebook_integration_page, xai_page, \
9
  versioning_tracker_page, nlp_nlg_page, devops_page, api_doc_page, \
 
33
  )
34
 
35
  # Show the navigation menu
36
+ selected = st.sidebar.select_icon("fa-icon",
37
+ ["Home", "RefactorRite", "StyleSculpt", "TestGenius", "LangLink",
38
+ "CodeDocGenius", "Database", "AutoOptimizer", "ModelTrainer",
39
+ "NotebookIntegration", "ExplainableAI", "DataVersioning",
40
+ "NLPandNLG", "DevOps", "APIDocGen", "CodeReviewAssistant",
41
+ "VersionControl", "RecommendationSystem", "CodeSecurityScanner",
42
+ "CodeDiagramConverter"],
 
 
 
 
 
 
 
 
 
 
 
43
  default_index=0
44
  )
45