datacipen commited on
Commit
96391f6
·
verified ·
1 Parent(s): 9add388

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -593,7 +593,7 @@ def build_workflow(num_bcc,file,pathname) -> StateGraph:
593
  # Définir les nœuds du graphe
594
  workflow.add_node("load_and_preprocess", lambda state: load_and_preprocess_csv(state, file))
595
  workflow.add_node("create_categories", lambda state: create_thematic_categories(state, num_bcc))
596
- #workflow.add_node("classify_teachings", lambda state: classify_teachings(state, num_bcc))
597
 
598
  #workflow.add_node("create_learning_situations", lambda state: create_learning_situations(state, pathname))
599
 
@@ -606,7 +606,7 @@ def build_workflow(num_bcc,file,pathname) -> StateGraph:
606
 
607
  # Définir les transitions
608
  workflow.add_edge("load_and_preprocess", "create_categories")
609
- #workflow.add_edge("create_categories", "classify_teachings")
610
 
611
  #workflow.add_edge("classify_teachings", "create_learning_situations")
612
  #workflow.add_edge("create_learning_situations", "create_academic_competencies")
 
593
  # Définir les nœuds du graphe
594
  workflow.add_node("load_and_preprocess", lambda state: load_and_preprocess_csv(state, file))
595
  workflow.add_node("create_categories", lambda state: create_thematic_categories(state, num_bcc))
596
+ workflow.add_node("classify_teachings", lambda state: classify_teachings(state, num_bcc))
597
 
598
  #workflow.add_node("create_learning_situations", lambda state: create_learning_situations(state, pathname))
599
 
 
606
 
607
  # Définir les transitions
608
  workflow.add_edge("load_and_preprocess", "create_categories")
609
+ workflow.add_edge("create_categories", "classify_teachings")
610
 
611
  #workflow.add_edge("classify_teachings", "create_learning_situations")
612
  #workflow.add_edge("create_learning_situations", "create_academic_competencies")