Spaces:
Runtime error
Runtime error
Update app.py
Browse files18 unmodified lines19202122232425262728293031323334353618 unmodified lines
from facefusion.jobs import job_store
# Cleanup cache on startupdef destroy_cache() -> None: for path in [ os.path.join(os.getcwd(), '.tmp'), os.path.join(os.getcwd(), '.jobs'), os.path.join(os.getcwd(), 'output') ]: if os.path.exists(path): shutil.rmtree(path)
destroy_cache()
# Set default state for FaceFusionstate_manager.init_item('command', 'run')state_manager.init_item('ui_layouts', ['default'])app.py+12