SVG output not open by browsers #12327
-
How to reproduce the behaviourfollow sample code: svg = displacy.render(doc, style='ent', jupyter=False) Your Environment
Result: the svg file is generated OK, but when try to open in browser this msg is displayed: This XML file does not appear to have any style information associated with it. The document tree is shown below. This svg file does work with online SVG viewer: https://www.svgviewer.dev/ |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi! If you want to see the result in your browser, you can run this instead:
and it'll write the link to access on the console, for me that's http://localhost:5000/ |
Beta Was this translation helpful? Give feedback.
Hi! If you want to see the result in your browser, you can run this instead:
and it'll write the link to access on the console, for me that's http://localhost:5000/