Update app.py
Browse files
app.py
CHANGED
@@ -144,14 +144,14 @@ with gr.Blocks(css=css) as demo:
|
|
144 |
[pdf_file, pdf_link, parsed_output]
|
145 |
)
|
146 |
|
147 |
-
gr.Examples(
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
)
|
155 |
|
156 |
demo.queue()
|
157 |
demo.launch(debug=True)
|
|
|
144 |
[pdf_file, pdf_link, parsed_output]
|
145 |
)
|
146 |
|
147 |
+
# gr.Examples(
|
148 |
+
# [["input/nougat.pdf", ""], [None, "https://arxiv.org/pdf/2308.08316.pdf"]],
|
149 |
+
# inputs = [pdf_file, pdf_link],
|
150 |
+
# outputs = parsed_output,
|
151 |
+
# fn=process_example,
|
152 |
+
# cache_examples=True,
|
153 |
+
# label='Click on any Examples below to get Nougat OCR results quickly:'
|
154 |
+
# )
|
155 |
|
156 |
demo.queue()
|
157 |
demo.launch(debug=True)
|