llama.serve.jupyter.utils module

Utilities for working with LLAMA in Jupyter notebooks.

Create a Jupyter notebook compatible download link for the file contents of a filehandler. Only works in an IPython notebook.


filehandler (llama.filehandler.FileHandler) – The FileHandler whose data you want to download.


FileNotFoundError – If the file to be downloaded does not exist.