Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -83,10 +83,10 @@ def build_interface():
|
|
| 83 |
fn=recognize_handwritten_text,
|
| 84 |
inputs=gr.Image(type="numpy", label="Upload Handwritten Image"),
|
| 85 |
outputs="text",
|
| 86 |
-
title="
|
| 87 |
description="📷 Upload a handwritten image. Uses PaddleOCR (detection) + TrOCR (recognition).",
|
| 88 |
)
|
| 89 |
|
| 90 |
-
if __name__ == "
|
| 91 |
iface = build_interface()
|
| 92 |
iface.launch()
|
|
|
|
| 83 |
fn=recognize_handwritten_text,
|
| 84 |
inputs=gr.Image(type="numpy", label="Upload Handwritten Image"),
|
| 85 |
outputs="text",
|
| 86 |
+
title="✍️ Handwritten Text Recognition",
|
| 87 |
description="📷 Upload a handwritten image. Uses PaddleOCR (detection) + TrOCR (recognition).",
|
| 88 |
)
|
| 89 |
|
| 90 |
+
if __name__ == "__main__":
|
| 91 |
iface = build_interface()
|
| 92 |
iface.launch()
|