From 008de75ab838e65e4495ef7bd9e64df29d749b0f Mon Sep 17 00:00:00 2001 From: Alexander Druz Date: Thu, 11 Jul 2024 14:57:19 +0200 Subject: [PATCH] Add `trust_remote_code=True` to a Hugging Face REPL example --- renumics/spotlight/viewer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renumics/spotlight/viewer.py b/renumics/spotlight/viewer.py index ea87110f..110201b7 100644 --- a/renumics/spotlight/viewer.py +++ b/renumics/spotlight/viewer.py @@ -36,7 +36,7 @@ Serving a Hugging Face dataset: >>> import datasets >>> from renumics import spotlight - >>> ds = datasets.load_dataset("mnist", split="test") + >>> ds = datasets.load_dataset("mnist", split="test", trust_remote_code=True) >>> viewer = spotlight.show(ds, port=5000, no_browser=True, wait=False) Spotlight running on http://127.0.0.1:5000/ >>> spotlight.close()