mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-01-11 01:18:12 +08:00
Data transform cell (#1758)
This commit is contained in:
parent
508862dda6
commit
0f84c4d244
1 changed files with 17 additions and 0 deletions
|
@ -52,6 +52,11 @@ defmodule Livebook.Runtime.ElixirStandalone do
|
|||
dependency: %{dep: {:torchx, "~> 0.4.1"}, config: [nx: [default_backend: Torchx.Backend]]}
|
||||
}
|
||||
|
||||
kino_explorer = %{
|
||||
name: "kino_explorer",
|
||||
dependency: %{dep: {:kino_explorer, "~> 0.1.0"}, config: []}
|
||||
}
|
||||
|
||||
windows? = match?({:win32, _}, :os.type())
|
||||
nx_backend_package = if(windows?, do: torchx, else: exla)
|
||||
|
||||
|
@ -164,6 +169,18 @@ defmodule Livebook.Runtime.ElixirStandalone do
|
|||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
%{
|
||||
kind: "Elixir.KinoExplorer.DataTransformCell",
|
||||
name: "Data transform",
|
||||
requirement: %{
|
||||
variants: [
|
||||
%{
|
||||
name: "Default",
|
||||
packages: [kino_explorer]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in a new issue