-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Markdown Output #55
Comments
Hi, you can see the app.py on huggingface to see the details of how to output formatted results. |
In the demo space. |
Hello @Ucas-HaoranWei, I am really sorry, but I am not finding it in the demo space. I see no explanation of how to get the output in Markdown format. I have only been able to get the output in Latex format. |
Hello,
In your paper it seemed that the model was able to extract the text and output it in Markdown format (with subtitles,headings, bold, etc). I am using your model from hugging face and I am not sure how to get the output in Markdown format. I have tried the following:
res = model.chat(tokenizer, images[0], ocr_type='format with Markdown')
What is the appropriate syntax to obtain the output in Markdown format?
And, where can I read more about 'ocr_type', 'ocr_box', 'ocr_color', and 'render' - it is not present on the github repo.
Thank you for the help!
The text was updated successfully, but these errors were encountered: