Update app.py
Browse files
app.py
CHANGED
|
@@ -1,12 +1,12 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
example_list = [['examples/1.
|
| 3 |
-
['examples/2.
|
| 4 |
-
['examples/3.
|
| 5 |
-
['examples/4.
|
| 6 |
-
['examples/5.
|
| 7 |
-
['examples/6.
|
| 8 |
|
| 9 |
title = "License plate reader 🚌"
|
| 10 |
description = "[Trained on european car plates] Identifies the license plate, cuts and displays it, and converts it into text. An image with higher resolution and clearer license plate will have a better accuracy."
|
| 11 |
|
| 12 |
-
gr.Interface.load("models/swww/test"
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
example_list = [['examples/1.png'],
|
| 3 |
+
['examples/2.png'],
|
| 4 |
+
['examples/3.png'],
|
| 5 |
+
['examples/4.png'],
|
| 6 |
+
['examples/5.png'],
|
| 7 |
+
['examples/6.png']]
|
| 8 |
|
| 9 |
title = "License plate reader 🚌"
|
| 10 |
description = "[Trained on european car plates] Identifies the license plate, cuts and displays it, and converts it into text. An image with higher resolution and clearer license plate will have a better accuracy."
|
| 11 |
|
| 12 |
+
gr.Interface.load("models/swww/test",examples=example_list,title=title,description=description).launch(debug=False,share=False)
|