JerLag commited on
Commit
3f65d5d
·
verified ·
1 Parent(s): 3b08124

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -1
app.py CHANGED
@@ -497,7 +497,28 @@ with gr.Blocks(title="Verbatify — Analyse NPS", css=VB_CSS) as demo:
497
  outputs=[summary, themes_table, enriched_table, files_out, ench_panel, irr_panel, reco_panel, plot_nps, plot_sent, plot_top, plot_bal]
498
  )
499
 
500
- gr.HTML('<div class="vb-footer">© Verbatify.com — Construit par <a href="https://jeremy-lagache.fr/">Jérémy-lagache.fr</a></div>')
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
501
 
502
  if __name__ == "__main__":
503
  demo.launch(share=False, show_api=False)
 
497
  outputs=[summary, themes_table, enriched_table, files_out, ench_panel, irr_panel, reco_panel, plot_nps, plot_sent, plot_top, plot_bal]
498
  )
499
 
500
+ # ---------------- UI ----------------
501
+ apply_plotly_theme()
502
+ with gr.Blocks(title="Verbatify — Analyse NPS", css=VB_CSS) as demo:
503
+ gr.HTML(
504
+ "<div class='vb-hero'>"
505
+ f"{LOGO_SVG}"
506
+ "<div><div class='vb-title'>Verbatify — Analyse NPS</div>"
507
+ "<div class='vb-sub'>Émotions • Thématiques • Occurrences • Synthèse</div></div>"
508
+ "</div>"
509
+ )
510
+
511
+ # ... tes composants existants (inputs, boutons, tables, plots) ...
512
+
513
+ # Footer => À L’INTÉRIEUR du with Blocks:
514
+ gr.HTML(
515
+ '<div class="vb-footer">© Verbatify.com — Construit par '
516
+ '<a href="https://jeremy-lagache.fr/" target="_blank" rel="dofollow">Jérémy-lagache.fr</a></div>'
517
+ )
518
+
519
+ if __name__ == "__main__":
520
+ demo.launch(share=False, show_api=False) # rien après cette ligne
521
+
522
 
523
  if __name__ == "__main__":
524
  demo.launch(share=False, show_api=False)