diff ludwig_visualize.py @ 0:f0be10937f5c draft default tip

planemo upload for repository https://github.com/goeckslab/Galaxy-Ludwig.git commit bdea9430787658783a51cc6c2ae951a01e455bb4
author goeckslab
date Tue, 07 Jan 2025 22:44:09 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ludwig_visualize.py	Tue Jan 07 22:44:09 2025 +0000
@@ -0,0 +1,14 @@
+import logging
+import pickle
+import sys
+
+from ludwig.visualize import cli
+
+from model_unpickler import SafeUnpickler
+
+
+logging.basicConfig(level=logging.DEBUG)
+
+setattr(pickle, 'Unpickler', SafeUnpickler)
+
+cli(sys.argv[1:])