Spaces:
Sleeping
Sleeping
add torchvision
Browse files
app.py
CHANGED
|
@@ -91,7 +91,7 @@ def ocr_image(image: Optional[Image.Image]) -> str:
|
|
| 91 |
def build_app() -> gr.Blocks:
|
| 92 |
with gr.Blocks(title="ViTOCR ONNX Demo") as demo:
|
| 93 |
gr.Markdown(
|
| 94 |
-
"Upload an image to test Khmer OCR
|
| 95 |
)
|
| 96 |
|
| 97 |
with gr.Row():
|
|
|
|
| 91 |
def build_app() -> gr.Blocks:
|
| 92 |
with gr.Blocks(title="ViTOCR ONNX Demo") as demo:
|
| 93 |
gr.Markdown(
|
| 94 |
+
"Upload an image to test Khmer OCR. Inference on CPU can be slow, so please be patient."
|
| 95 |
)
|
| 96 |
|
| 97 |
with gr.Row():
|