Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -22,8 +22,9 @@ demo = gr.Interface(
|
|
22 |
title="Demo: pix2struct for DocVQA",
|
23 |
description=description,
|
24 |
article=article,
|
25 |
-
enable_queue=True,
|
26 |
examples=[["example_1.png", "When is the coffee break?"], ["example_2.jpeg", "What's the population of Stoddard?"]],
|
27 |
cache_examples=False)
|
28 |
|
|
|
29 |
demo.launch()
|
|
|
22 |
title="Demo: pix2struct for DocVQA",
|
23 |
description=description,
|
24 |
article=article,
|
25 |
+
# enable_queue=True,
|
26 |
examples=[["example_1.png", "When is the coffee break?"], ["example_2.jpeg", "What's the population of Stoddard?"]],
|
27 |
cache_examples=False)
|
28 |
|
29 |
+
demo.queue()
|
30 |
demo.launch()
|