hamdan07 commited on
Commit
8002727
·
1 Parent(s): a72c456

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -1,4 +1,12 @@
1
  import gradio as gr
 
 
 
 
 
 
2
 
 
 
3
 
4
- gr.Interface.load("models/swww/test").launch()
 
1
  import gradio as gr
2
+ example_list = [['examples/1.jpg'],
3
+ ['examples/2.jpg'],
4
+ ['examples/3.jpg'],
5
+ ['examples/4.jpg'],
6
+ ['examples/5.jpg'],
7
+ ['examples/6.jpg']]
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()