davanstrien HF staff commited on
Commit
5192410
1 Parent(s): 53eca38
Files changed (1) hide show
  1. app.py +9 -2
app.py CHANGED
@@ -173,10 +173,17 @@ def process_pdfs(
173
  with gr.Blocks() as demo:
174
  gr.HTML(
175
  """<h1 style='text-align: center;'> PDFs to Page Images Converter</h1>
176
- <center><i> &#128193; Convert PDFs to an image dataset &#128193; </i></center>"""
177
  )
178
  gr.Markdown(
179
- "Upload PDF(s), convert pages to images, and optionally upload them to a Hugging Face repo. If a sample size is specified, random pages will be selected."
 
 
 
 
 
 
 
180
  )
181
 
182
  with gr.Row():
 
173
  with gr.Blocks() as demo:
174
  gr.HTML(
175
  """<h1 style='text-align: center;'> PDFs to Page Images Converter</h1>
176
+ <center><i> &#128193; Convert PDFs to an image dataset, splitting pages into individual images &#128193; </i></center>"""
177
  )
178
  gr.Markdown(
179
+ """
180
+ This app allows you to:
181
+ 1. Upload one or more PDF files
182
+ 2. Convert each page of the PDFs into separate image files
183
+ 3. (Optionally) sample a specific number of pages from each PDF
184
+ 4. (Optionally) Create a downloadable ZIP file of the converted images
185
+ 5. (Optionally) Upload the images to a Hugging Face dataset repository
186
+ """
187
  )
188
 
189
  with gr.Row():