Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def predict(image):
|
|
42 |
)
|
43 |
|
44 |
page_sequence = processor.batch_decode(outputs, skip_special_tokens=True)[0]
|
45 |
-
page_sequence = processor.post_process_generation(
|
46 |
return page_sequence
|
47 |
|
48 |
|
|
|
42 |
)
|
43 |
|
44 |
page_sequence = processor.batch_decode(outputs, skip_special_tokens=True)[0]
|
45 |
+
page_sequence = processor.post_process_generation(page_sequence, fix_markdown=False)
|
46 |
return page_sequence
|
47 |
|
48 |
|