Update app.py
Browse files
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"
|
| 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 |
|