diff --git a/frontend/src/mixins/helpers.ts b/frontend/src/mixins/helpers.ts index ecd6d34..fd77879 100644 --- a/frontend/src/mixins/helpers.ts +++ b/frontend/src/mixins/helpers.ts @@ -120,10 +120,12 @@ export function equals(a: T[], b: T[]) { export function addPyScript() { if (!document.getElementById('pyscript')) { - const env = document.createElement('py-env'); + const env = document.createElement('py-config'); env.innerHTML = ` - - numpy - - matplotlib + packages = ["numpy", "matplotlib"] + + [splashscreen] + enabled = false ` document.head.appendChild(env); const script = document.createElement('script'); diff --git a/frontend/src/pages/Index/App.vue b/frontend/src/pages/Index/App.vue index bedfb5e..11054fe 100644 --- a/frontend/src/pages/Index/App.vue +++ b/frontend/src/pages/Index/App.vue @@ -321,4 +321,8 @@ body.rb.rb-lock-off { } } +py-loader py-terminal { + display: none; +} +