Spaces:
Runtime error
Runtime error
add ID example
Browse files- app.py +4 -1
- example_02.jpg +0 -0
app.py
CHANGED
@@ -97,5 +97,8 @@ gr.Interface(
|
|
97 |
gr.Number(label="End score"),
|
98 |
gr.Image(label="OCR results"),
|
99 |
],
|
100 |
-
examples=[
|
|
|
|
|
|
|
101 |
).launch(server_name="0.0.0.0", server_port=7860)
|
|
|
97 |
gr.Number(label="End score"),
|
98 |
gr.Image(label="OCR results"),
|
99 |
],
|
100 |
+
examples=[
|
101 |
+
["example_01.jpg", "When did the sample take place?", PADDLE_OCR_LABEL],
|
102 |
+
["example_02.jpg", "What is the ID number?", PADDLE_OCR_LABEL],
|
103 |
+
],
|
104 |
).launch(server_name="0.0.0.0", server_port=7860)
|
example_02.jpg
ADDED