My papermill report is not getting added to the Fl...
# ask-the-community
e
My papermill report is not getting added to the Flyte Deck. I am not sure if there is a setting on the cluster or I am missing something here. I can share more code if needed 🙂
Copy code
quality_report = NotebookTask(
    name="quality_report",
    notebook_path=os.path.join(
        CURR_DIR, "demo_display.ipynb"
    ),
    render_deck=True,
    inputs=kwtypes(path=str),
    outputs=kwtypes(out_nb=PythonNotebook, out_rendered_nb=HTMLPage),
)

@workflow
def wf() -> Tuple[PythonNotebook, HTMLPage]:
    images = [score_image(name="img1.png"), score_image(name="img2.png"), score_image(name="img3.png")]
    display_grid(images=images)

    path = report_preprocessing(images=images)
    out, render = quality_report(path=path)
    return out, render
k
turn on flyte deck
Copy code
quality_report = NotebookTask(
    ...
    disable_deck=False,
)
156 Views