Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -29,8 +29,8 @@ examples = [['sample_test_images/91-34.png'],
|
|
29 |
|
30 |
|
31 |
title = "CALText Demo"
|
32 |
-
description = "<p style='text-align: center'>Gradio demo for CALText model architecture <a href='https://github.com/nazar-khan/CALText'>[GitHub Code]</a> trained on the <a href='http://faculty.pucit.edu.pk/nazarkhan/work/urdu_ohtr/pucit_ohul_dataset.html'>PUCIT-OHUL</a> dataset. To use it, simply add your image, or click one of the examples to load them. This demo is running on CPU that's why it can take a bit more time. </p>"
|
33 |
-
article
|
34 |
inputs = gr.inputs.Image(label="Input Image")
|
35 |
|
36 |
demo = gr.Interface(fn=recognize_text,
|
|
|
29 |
|
30 |
|
31 |
title = "CALText Demo"
|
32 |
+
description = "<p style='text-align: center'>Gradio demo for CALText model architecture <a href='https://github.com/nazar-khan/CALText'>[GitHub Code]</a> trained on the <a href='http://faculty.pucit.edu.pk/nazarkhan/work/urdu_ohtr/pucit_ohul_dataset.html'>PUCIT-OHUL</a> dataset. To use it, simply add your image, or click one of the examples to load them. This demo is running on CPU that's why it can take a bit more time. </p>"
|
33 |
+
article="<p style='text-align: center'><a href='https://link.springer.com/article/10.1007/s11063-023-11258-5'>CALText: Contextual Attention Localization for Offline Handwritten Text<\a><\p>"
|
34 |
inputs = gr.inputs.Image(label="Input Image")
|
35 |
|
36 |
demo = gr.Interface(fn=recognize_text,
|