Trans_for_doctors / MedicalTranscriber.spec
Mintik24's picture
Update build configs and dependencies
51e19d8
# -*- mode: python ; coding: utf-8 -*-
a = Analysis(
['run_gui.py'],
pathex=[],
binaries=[],
datas=[('medical_terms.txt', '.'), ('app_config.json', '.'), ('pipeline', 'pipeline'), ('app', 'app'), ('corrector', 'corrector'), ('stt', 'stt'), ('knowledge_base', 'knowledge_base'), ('common', 'common')],
hiddenimports=['PyQt6', 'PyQt6.QtGui', 'PyQt6.QtCore', 'PyQt6.QtWidgets', 'transformers', 'torch', 'librosa', 'soundfile', 'numpy', 'docx', 'requests'],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=['matplotlib', 'tensorboard', 'pytest', 'IPython'],
noarchive=False,
optimize=0,
)
pyz = PYZ(a.pure)
exe = EXE(
pyz,
a.scripts,
[],
exclude_binaries=True,
name='MedicalTranscriber',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=False,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)
coll = COLLECT(
exe,
a.binaries,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='MedicalTranscriber',
)