llama.serve.jupyter.utils module¶
Utilities for working with LLAMA in Jupyter notebooks.
-
llama.serve.jupyter.utils.
create_download_link
(filehandler)¶ Create a Jupyter notebook compatible download link for the file contents of a filehandler. Only works in an IPython notebook.
- Parameters
filehandler (llama.filehandler.FileHandler) – The
FileHandler
whose data you want to download.- Raises
FileNotFoundError – If the file to be downloaded does not exist.