Update README.md
Browse files
README.md
CHANGED
|
@@ -74,6 +74,8 @@ pip install -e .
|
|
| 74 |
|
| 75 |
#### Command Line
|
| 76 |
|
|
|
|
|
|
|
| 77 |
```bash
|
| 78 |
# NOTE: The Infinity-Parser2 model will be automatically downloaded on the first run.
|
| 79 |
|
|
@@ -138,7 +140,7 @@ result = parser.parse("demo_data/demo.pdf", task_type="doc2md")
|
|
| 138 |
|
| 139 |
# Custom prompt
|
| 140 |
result = parser.parse("demo_data/demo.pdf", task_type="custom",
|
| 141 |
-
custom_prompt="
|
| 142 |
|
| 143 |
# Batch processing with custom batch size
|
| 144 |
result = parser.parse("demo_data", batch_size=8)
|
|
|
|
| 74 |
|
| 75 |
#### Command Line
|
| 76 |
|
| 77 |
+
The `parser` command is the fastest way to get started.
|
| 78 |
+
|
| 79 |
```bash
|
| 80 |
# NOTE: The Infinity-Parser2 model will be automatically downloaded on the first run.
|
| 81 |
|
|
|
|
| 140 |
|
| 141 |
# Custom prompt
|
| 142 |
result = parser.parse("demo_data/demo.pdf", task_type="custom",
|
| 143 |
+
custom_prompt="Please transform the document's contents into Markdown format.")
|
| 144 |
|
| 145 |
# Batch processing with custom batch size
|
| 146 |
result = parser.parse("demo_data", batch_size=8)
|