From 7ea4b63dceba7aece8ec5fabf9f7da98ec566eec Mon Sep 17 00:00:00 2001 From: Carlo Lucibello Date: Wed, 25 May 2022 20:21:56 +0200 Subject: [PATCH] datadeps always accept --- docs/src/tutorials/gnn_intro_pluto.jl | 1 + docs/src/tutorials/graph_classification_pluto.jl | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/src/tutorials/gnn_intro_pluto.jl b/docs/src/tutorials/gnn_intro_pluto.jl index 6dd05ff95..7479d29c3 100644 --- a/docs/src/tutorials/gnn_intro_pluto.jl +++ b/docs/src/tutorials/gnn_intro_pluto.jl @@ -32,6 +32,7 @@ begin import CairoMakie as Makie using Graphs using PlutoUI + ENV["DATADEPS_ALWAYS_ACCEPT"] = "true" # don't ask for dataset download confirmation Random.seed!(17) # for reproducibility end; diff --git a/docs/src/tutorials/graph_classification_pluto.jl b/docs/src/tutorials/graph_classification_pluto.jl index c238c270f..9c4463804 100644 --- a/docs/src/tutorials/graph_classification_pluto.jl +++ b/docs/src/tutorials/graph_classification_pluto.jl @@ -22,14 +22,16 @@ begin end # ╔═╡ 361e0948-d91a-11ec-2d95-2db77435a0c1 +# ╠═╡ show_logs = false begin using Flux using Flux: onecold, onehotbatch, logitcrossentropy using GraphNeuralNetworks using MLDatasets using LinearAlgebra, Random, Statistics - Random.seed!(17) -end; + ENV["DATADEPS_ALWAYS_ACCEPT"] = "true" # don't ask for dataset download confirmation + Random.seed!(17) # for reproducibility +end # ╔═╡ 3ef587b4-3fbe-4d29-9a03-16edc2c25f9a using MLUtils