Feels so good to get rid of Gradio (#978)

This commit is contained in:
Henry Ruhs
2026-03-17 14:01:27 +01:00
committed by henryruhs
parent 8ec519f183
commit d4f1992167
80 changed files with 42 additions and 4645 deletions
-11
View File
@@ -62,17 +62,6 @@ def route(args : Args) -> None:
hard_exit(error_code)
if state_manager.get_item('command') == 'run':
import facefusion.uis.core as ui
if not common_pre_check() or not processors_pre_check():
hard_exit(2)
for ui_layout in ui.get_ui_layouts_modules(state_manager.get_item('ui_layouts')):
if not ui_layout.pre_check():
hard_exit(2)
ui.init()
ui.launch()
if state_manager.get_item('command') == 'headless-run':
if not job_manager.init_jobs(state_manager.get_item('jobs_path')):
hard_exit(1)
error_code = process_headless(args)