File size: 302 Bytes
a9c2120
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
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')