Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -47,11 +47,11 @@ demo = gr.Interface(
|
|
47 |
fn=process_document,
|
48 |
inputs=["image", "text"],
|
49 |
outputs="json",
|
50 |
-
title=
|
51 |
description=description,
|
52 |
article=article,
|
53 |
enable_queue=True,
|
54 |
-
examples=[
|
55 |
cache_examples=False)
|
56 |
|
57 |
demo.launch()
|
|
|
47 |
fn=process_document,
|
48 |
inputs=["image", "text"],
|
49 |
outputs="json",
|
50 |
+
title="Demo: Donut 🍩 for DocVQA",
|
51 |
description=description,
|
52 |
article=article,
|
53 |
enable_queue=True,
|
54 |
+
examples=["example_1.png", "When is the coffee break?"], ["example_2.jpeg", "What's the population of Stoddard?"],
|
55 |
cache_examples=False)
|
56 |
|
57 |
demo.launch()
|