Liam Dyer commited on
Commit
e8f5eaa
·
unverified ·
1 Parent(s): bf804f0

strip output text

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def convert(pdf_file):
36
  "title": reader.metadata.title,
37
  }
38
 
39
- return full_text, metadata
40
 
41
 
42
  gr.Interface(
 
36
  "title": reader.metadata.title,
37
  }
38
 
39
+ return full_text.strip(), metadata
40
 
41
 
42
  gr.Interface(