Spaces:
Sleeping
Sleeping
diegulio
commited on
Commit
•
b321588
1
Parent(s):
69e2dd8
Update app.py
Browse files
app.py
CHANGED
@@ -39,16 +39,16 @@ def process_document(image):
|
|
39 |
|
40 |
return processor.token2json(sequence)
|
41 |
|
42 |
-
description = "
|
43 |
-
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2111.15664' target='_blank'>Donut: OCR-free Document Understanding Transformer</a> | <a href='https://github.com/clovaai/donut' target='_blank'>Github Repo</a></p>"
|
44 |
|
45 |
demo = gr.Interface(
|
46 |
fn=process_document,
|
47 |
inputs="image",
|
48 |
outputs="json",
|
49 |
-
title="Demo:
|
50 |
description=description,
|
51 |
-
article=article,
|
52 |
enable_queue=True,
|
53 |
#examples=[["example.png"], ["example_2.png"], ["example_3.png"]],
|
54 |
cache_examples=False)
|
|
|
39 |
|
40 |
return processor.token2json(sequence)
|
41 |
|
42 |
+
description = "Clip AI: Check Understanding"
|
43 |
+
#article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2111.15664' target='_blank'>Donut: OCR-free Document Understanding Transformer</a> | <a href='https://github.com/clovaai/donut' target='_blank'>Github Repo</a></p>"
|
44 |
|
45 |
demo = gr.Interface(
|
46 |
fn=process_document,
|
47 |
inputs="image",
|
48 |
outputs="json",
|
49 |
+
title="Clip Demo: Check Understanding",
|
50 |
description=description,
|
51 |
+
#article=article,
|
52 |
enable_queue=True,
|
53 |
#examples=[["example.png"], ["example_2.png"], ["example_3.png"]],
|
54 |
cache_examples=False)
|