diff ludwig_predict.py @ 0:ed8a9ea5bc73 draft default tip

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