bash pip install pyinstaller
bash pyinstaller --onefile your_script.py
bash pip install cx_Freeze
python from cx_Freeze import setup, Executable setup( name = “your_program_name”, version = “0.1”, description = “Your program description”, executables = [Executable(“your_script.py”)] )
bash python setup.py build
bash pip install py2exe
python from distutils.core import setup import py2exe setup(console=['your_script.py'])
python setup.py py2exe</sxh>
bash pip install nuitka
bash nuitka --follow-imports --standalone your_script.py
bash pip install pyinstaller
bash pyinstaller your_script.py
python module_collection_mode={'gradio':'py',}
python def parse_args(): command_line_args = SimpleNamespace( llama_checkpoint_path="checkpoints/fish-speech-1.2", decoder_checkpoint_path="checkpoints/4x1024-42hz-generator.pth", decoder_config_name="firefly_gan_vq", device="cuda", half=False, compile=False, max_gradio_length=0, ) return command_line_args