ASI-Engineer commited on
Commit
61876ea
·
verified ·
1 Parent(s): d8e0833

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. src/gradio_ui.py +13 -4
src/gradio_ui.py CHANGED
@@ -542,17 +542,26 @@ def create_gradio_interface():
542
  # Onglet Batch
543
  with gr.TabItem("📦 Batch"):
544
  gr.Markdown(
545
- "### Prédictions batch à partir de 3 CSV (sondage, évaluation, SIRH)"
 
 
 
546
  )
547
  with gr.Column():
548
  sondage_file = gr.File(
549
- label="CSV Sondage", file_types=[".csv"], type="filepath"
 
 
550
  )
551
  eval_file = gr.File(
552
- label="CSV Évaluation", file_types=[".csv"], type="filepath"
 
 
553
  )
554
  sirh_file = gr.File(
555
- label="CSV SIRH", file_types=[".csv"], type="filepath"
 
 
556
  )
557
  batch_btn = gr.Button("📦 Prédire en batch", variant="primary")
558
  batch_result = gr.JSON(label="Résultat batch")
 
542
  # Onglet Batch
543
  with gr.TabItem("📦 Batch"):
544
  gr.Markdown(
545
+ """### Prédictions batch à partir de 3 CSV (sondage, évaluation, SIRH)
546
+
547
+ ⚠️ **Ordre important :** Assurez-vous d'uploader les bons fichiers dans chaque champ.
548
+ """
549
  )
550
  with gr.Column():
551
  sondage_file = gr.File(
552
+ label="📋 CSV Sondage (ex: 02_predict_batch_sondage.csv)",
553
+ file_types=[".csv"],
554
+ type="filepath",
555
  )
556
  eval_file = gr.File(
557
+ label="📊 CSV Évaluation (ex: 02_predict_batch_eval.csv)",
558
+ file_types=[".csv"],
559
+ type="filepath",
560
  )
561
  sirh_file = gr.File(
562
+ label="👤 CSV SIRH (ex: 02_predict_batch_sirh.csv)",
563
+ file_types=[".csv"],
564
+ type="filepath",
565
  )
566
  batch_btn = gr.Button("📦 Prédire en batch", variant="primary")
567
  batch_result = gr.JSON(label="Résultat batch")