SaboAmz commited on
Commit
48aedd5
·
verified ·
1 Parent(s): de74596

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -632,7 +632,7 @@ def recherche_plante(nom_latin: str):
632
  # ============================================================================
633
 
634
  # Créer l'interface
635
- with gr.Blocks(title="🌿 Plantus - Enrichissement botanique", theme=gr.themes.Soft()) as app:
636
 
637
  gr.Markdown("""
638
  # 🌿 Plantus - Enrichissement de données botaniques
@@ -776,4 +776,7 @@ with gr.Blocks(title="🌿 Plantus - Enrichissement botanique", theme=gr.themes.
776
 
777
  # Point d'entrée
778
  if __name__ == "__main__":
779
- app.queue().launch()
 
 
 
 
632
  # ============================================================================
633
 
634
  # Créer l'interface
635
+ with gr.Blocks() as app:
636
 
637
  gr.Markdown("""
638
  # 🌿 Plantus - Enrichissement de données botaniques
 
776
 
777
  # Point d'entrée
778
  if __name__ == "__main__":
779
+ app.queue().launch(
780
+ theme=gr.themes.Soft(),
781
+ ssr_mode=False
782
+ )