boulahia commited on
Commit
e2e4a40
·
verified ·
1 Parent(s): 7a8fa6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1102,7 +1102,7 @@ def is_access_allowed(plate_text):
1102
  # ------------------------------
1103
  # 6. INTERFACE GRADIO
1104
  # ------------------------------
1105
- with gr.Blocks(title="🚗 Système de Reconnaissance de Véhicules Algériens", theme="soft", concurrency_limit=1) as demo:
1106
  # Page d'accueil
1107
  with gr.Tab("Accueil"):
1108
  with gr.Column():
@@ -1526,5 +1526,5 @@ with gr.Blocks(title="🚗 Système de Reconnaissance de Véhicules Algériens",
1526
 
1527
  # Lancer l'interface
1528
  if __name__ == "__main__":
1529
- demo.launch()
1530
 
 
1102
  # ------------------------------
1103
  # 6. INTERFACE GRADIO
1104
  # ------------------------------
1105
+ with gr.Blocks(title="🚗 Système de Reconnaissance de Véhicules Algériens") as demo:
1106
  # Page d'accueil
1107
  with gr.Tab("Accueil"):
1108
  with gr.Column():
 
1526
 
1527
  # Lancer l'interface
1528
  if __name__ == "__main__":
1529
+ demo.launch(concurrency_count=1)
1530