mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-13 18:56:36 +03:00
Fix config quickstart and download [ci skip]
This commit is contained in:
parent
3b9ecd25d8
commit
e17ea88e54
|
@ -248,7 +248,9 @@ const Quickstart = ({
|
||||||
)}
|
)}
|
||||||
{download && (
|
{download && (
|
||||||
<a
|
<a
|
||||||
href={`data:application/octet-stream,${getRawContent(contentRef)}`}
|
href={`data:application/octet-stream,${encodeURIComponent(
|
||||||
|
getRawContent(contentRef)
|
||||||
|
)}`}
|
||||||
title="Download file"
|
title="Download file"
|
||||||
download={download}
|
download={download}
|
||||||
className={classes.iconButton}
|
className={classes.iconButton}
|
||||||
|
|
|
@ -90,7 +90,7 @@ export default function QuickstartTraining({ id, title, download = 'base_config.
|
||||||
id="quickstart-widget"
|
id="quickstart-widget"
|
||||||
Container="div"
|
Container="div"
|
||||||
download={download}
|
download={download}
|
||||||
rawContent={content}
|
rawContent={rawContent}
|
||||||
data={DATA}
|
data={DATA}
|
||||||
title={title}
|
title={title}
|
||||||
id={id}
|
id={id}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user