Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -98,7 +98,7 @@ def run_GOT(pdf_file):
|
|
98 |
|
99 |
results.append({
|
100 |
"page_number": i + 1,
|
101 |
-
"text": res,
|
102 |
"html": formatted_html_content
|
103 |
})
|
104 |
|
|
|
98 |
|
99 |
results.append({
|
100 |
"page_number": i + 1,
|
101 |
+
"text": res.replace('\n', ' '), # Remove newlines from the text
|
102 |
"html": formatted_html_content
|
103 |
})
|
104 |
|