kasper-boy commited on
Commit
a224b87
·
verified ·
1 Parent(s): edfe611

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -125,7 +125,6 @@ if __name__ == "__main__":
125
  assume_straight_pages=True,
126
  )
127
 
128
- # define pdf bytes as None
129
  pdf_obj = _here / "example_file.pdf"
130
  pdf_obj = str(pdf_obj.resolve())
131
  _temp_dir = _here / "temp"
@@ -135,7 +134,6 @@ if __name__ == "__main__":
135
  demo = gr.Blocks()
136
 
137
  with demo:
138
-
139
  gr.Markdown("# PDF to Text")
140
  gr.Markdown(
141
  "A basic demo of pdf-to-text conversion using OCR from the [doctr](https://mindee.github.io/doctr/index.html) package"
@@ -143,7 +141,6 @@ if __name__ == "__main__":
143
  gr.Markdown("---")
144
 
145
  with gr.Column():
146
-
147
  gr.Markdown("## Load Inputs")
148
  gr.Markdown("Upload your own file & replace the default. Files should be < 10MB to avoid upload issues - search for a PDF compressor online as needed.")
149
  gr.Markdown(
 
125
  assume_straight_pages=True,
126
  )
127
 
 
128
  pdf_obj = _here / "example_file.pdf"
129
  pdf_obj = str(pdf_obj.resolve())
130
  _temp_dir = _here / "temp"
 
134
  demo = gr.Blocks()
135
 
136
  with demo:
 
137
  gr.Markdown("# PDF to Text")
138
  gr.Markdown(
139
  "A basic demo of pdf-to-text conversion using OCR from the [doctr](https://mindee.github.io/doctr/index.html) package"
 
141
  gr.Markdown("---")
142
 
143
  with gr.Column():
 
144
  gr.Markdown("## Load Inputs")
145
  gr.Markdown("Upload your own file & replace the default. Files should be < 10MB to avoid upload issues - search for a PDF compressor online as needed.")
146
  gr.Markdown(