zuminghuang commited on
Commit
b641725
·
verified ·
1 Parent(s): 10d15d5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -1
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="Extract the title and authors only.")
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)