Skip to content

Commit

Permalink
Add trust_remote_code=True to a Hugging Face REPL example
Browse files Browse the repository at this point in the history
  • Loading branch information
druzsan committed Jul 11, 2024
1 parent 0b824ce commit 008de75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renumics/spotlight/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 008de75

Please sign in to comment.