data_text_search / hook-gradio.py
Sean-Case
Initial commit
a9c2120
raw
history blame
302 Bytes
from PyInstaller.utils.hooks import collect_data_files
hiddenimports = [
'gradio',
# Add any other submodules that PyInstaller doesn't detect
]
# Use collect_data_files to find data files. Replace 'gradio' with the correct package name if it's different.
datas = collect_data_files('gradio')