downloadexpviscomponent
downloadexpviscomponent ¶
module for download experiments
Classes¶
DownloadVisu ¶
DownloadVisu(
component_name=None,
meta_function=None,
target_value_list=None,
assert_on_error=False,
)
Bases: ExpVisComponent
Visualization of the download dialog
Source code in niceml/dashboard/components/expviscomponent.py
Functions¶
create_download_zip
staticmethod
¶
Zip a directory and provide a download link to the zipped file within a streamlit application
Parameters:
-
zip_directory
(str
) –Path of the directory that should be zipped
-
zip_path
(str
) –Path of the directory that should contain the output zip file
-
filename
(str
) –Name of the generated zip file