merve HF staff commited on
Commit
32e270a
1 Parent(s): 4745241

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -113,6 +113,14 @@ with gr.Blocks(css=css) as demo:
113
  [],
114
  [pdf_file, pdf_link, parsed_output]
115
  )
 
 
 
 
 
 
 
 
116
 
117
 
118
 
 
113
  [],
114
  [pdf_file, pdf_link, parsed_output]
115
  )
116
+ gr.Examples(
117
+ [["nougat.pdf", ""], [None, "https://arxiv.org/pdf/2308.08316.pdf"]],
118
+ inputs = [pdf_file, pdf_link],
119
+ outputs = parsed_output,
120
+ fn=inference,
121
+ cache_examples=True,
122
+ label='Click on any Examples below to get Nougat OCR results quickly:'
123
+ )
124
 
125
 
126