MCPcopy Index your code
hub / github.com/facefusion/facefusion / create_frame_distribution_program

Function create_frame_distribution_program

facefusion/program.py:177–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

175
176
177def create_frame_distribution_program() -> ArgumentParser:
178 program = ArgumentParser(add_help = False)
179 group_frame_distribution = program.add_argument_group('frame distribution')
180 group_frame_distribution.add_argument('--target-frame-amount', help = translator.get('help.target_frame_amount'), type = int, default = config.get_int_value('frame_distribution', 'target_frame_amount', '5'), choices = facefusion.choices.target_frame_amount_range, metavar = create_int_metavar(facefusion.choices.target_frame_amount_range))
181 job_store.register_step_keys([ 'target_frame_amount' ])
182 return program
183
184
185def create_output_creation_program() -> ArgumentParser:

Callers 1

collect_step_programFunction · 0.85

Calls 1

create_int_metavarFunction · 0.90

Tested by

no test coverage detected