Spaces:
Sleeping
Sleeping
achira-kati commited on
Commit ·
078c1dc
1
Parent(s): 0907cf6
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,14 +44,9 @@ with gr.Blocks(title="Thai TrOCR Demo") as demo:
|
|
| 44 |
|
| 45 |
gr.Examples(
|
| 46 |
examples=[
|
| 47 |
-
|
| 48 |
-
"https://i.ibb.co/QXZFSNx/test7.png",
|
| 49 |
-
"รมว.ธรรมนัส ลงพื้นที่",
|
| 50 |
-
]
|
| 51 |
],
|
| 52 |
inputs=image_input,
|
| 53 |
-
outputs=text_output,
|
| 54 |
-
fn=ocr,
|
| 55 |
cache_examples=False,
|
| 56 |
)
|
| 57 |
|
|
|
|
| 44 |
|
| 45 |
gr.Examples(
|
| 46 |
examples=[
|
| 47 |
+
"https://i.ibb.co/QXZFSNx/test7.png",
|
|
|
|
|
|
|
|
|
|
| 48 |
],
|
| 49 |
inputs=image_input,
|
|
|
|
|
|
|
| 50 |
cache_examples=False,
|
| 51 |
)
|
| 52 |
|