Fix doctest for `MarkupLM` (#19845)
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
parent
1f7e40d04f
commit
072ed01c38
|
@ -95,10 +95,8 @@ This is the simplest case, in which the processor will use the feature extractor
|
|||
... <title>Hello world</title>
|
||||
... </head>
|
||||
... <body>
|
||||
|
||||
... <h1>Welcome</h1>
|
||||
... <p>Here is my website.</p>
|
||||
|
||||
... </body>
|
||||
... </html>"""
|
||||
|
||||
|
@ -165,10 +163,8 @@ processor will use the feature extractor to get all nodes and xpaths, and create
|
|||
... <title>Hello world</title>
|
||||
... </head>
|
||||
... <body>
|
||||
|
||||
... <h1>Welcome</h1>
|
||||
... <p>My name is Niels.</p>
|
||||
|
||||
... </body>
|
||||
... </html>"""
|
||||
|
||||
|
|
Loading…
Reference in New Issue