From 0d623aaa3f4a83fd55a47b7dcabeb4c125779b00 Mon Sep 17 00:00:00 2001 From: FlorentLvr Date: Fri, 10 Feb 2023 13:34:05 +0100 Subject: [PATCH] feat: try except naas_data_product --- models/__pipeline__.ipynb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/models/__pipeline__.ipynb b/models/__pipeline__.ipynb index b2a349d..9a6dedc 100644 --- a/models/__pipeline__.ipynb +++ b/models/__pipeline__.ipynb @@ -65,7 +65,11 @@ }, "outputs": [], "source": [ - "from naas_data_product import *\n", + "try:\n", + " from naas_data_product import *\n", + "except:\n", + " !pip install naas_data_product --user\n", + " from naas_data_product import *\n", "from naas.pipeline import Pipeline, NotebookStep, End" ] },