Commit Graph

432 Commits

Author SHA1 Message Date
harisreedhar 92ec60933e detect workflow 2026-05-11 16:34:28 +02:00
harisreedhar f754828d08 changes
restructure conditional methods to a fall-through pattern

common process_temp_frame for all workflow
2026-05-11 16:34:28 +02:00
Henry Ruhs 403e89eeac Feat/session context (#993)
* Add simple session context

* Add simple session context
2026-05-11 16:34:28 +02:00
Henry Ruhs 672d65d61a Add simple path isolation (#992) 2026-05-11 16:34:28 +02:00
harisreedhar 678f4edd4c update ffmpeg.set_loop
add test

introduce spawn_frames
2026-05-11 16:34:28 +02:00
harisreedhar 38e8610523 changes 2026-05-11 16:34:28 +02:00
harisreedhar 3444194aed remove --keep-temp 2026-05-11 16:34:28 +02:00
harisreedhar c4f1d14d71 Part 2 2026-05-11 16:34:28 +02:00
harisreedhar 0aa56d54bb Part 2 2026-05-11 16:34:28 +02:00
harisreedhar cec736d03a fix 2026-05-11 16:34:28 +02:00
harisreedhar 2485a409b8 part 1 2026-05-11 16:34:28 +02:00
henryruhs 35881a4f8d Switch workflow args order in tests, Remove old choices in processors 2026-05-11 16:34:28 +02:00
henryruhs 86cd7cbc8f Switch workflow args order in tests, Remove old choices in processors 2026-05-11 16:34:28 +02:00
harisreedhar 7666411a3d add todo
add test

cleanup

remove -w

move --workflow position

fix test

add --worflow, audio-to-image, image-to-image, image-to-video
2026-05-11 16:34:27 +02:00
Henry Ruhs b333280b8d Scope for Args (#988)
* Add API scopes

* Add API scopes

* Add API scopes

* Add API scopes

* Add API scopes

* Add API scopes

* Add API scopes

* Add API scopes

* Remove system memory limit (#986)

* Add session_id, make token size more reasonable (#983)

* Add session_id, make token size more reasonable

* Use more direct approach

* Fix more stuff

* Fix ignore comments

* Fix naming

* Fix lint
2026-05-11 16:31:45 +02:00
harisreedhar 9664bb98db changes 2026-05-11 16:31:45 +02:00
harisreedhar 139e73589a changes 2026-05-11 16:31:45 +02:00
harisreedhar f11e8eaaea changes 2026-05-11 16:31:45 +02:00
harisreedhar b0e849a251 rename to target_path 2026-05-11 16:31:45 +02:00
harisreedhar d224e47d38 fix exit-helper 2026-05-11 16:31:45 +02:00
harisreedhar 7b1570dc3f refactor temp handling from target-path to output-path 2026-05-11 16:31:45 +02:00
henryruhs 85eeaf39ca Burn it with fire 2026-05-11 16:31:45 +02:00
henryruhs a10b740a80 Burn it with fire 2026-05-11 16:31:45 +02:00
Henry Ruhs 85b85b31a2 Remove system memory limit (#986) 2026-05-11 16:31:45 +02:00
Henry Ruhs ba884a19b1 Add session_id, make token size more reasonable (#983)
* Add session_id, make token size more reasonable

* Use more direct approach
2026-05-11 16:31:45 +02:00
Henry Ruhs 87678da498 Local API (#982)
* Introduce API scelleton

* Raw impl for session

* Simple state endpoint

* Apply _body naming

* Finalize session testing and comment out tons of useless code

* Clean and refactor part1

* Clean and refactor part2

* Clean and refactor part2

* Clean and refactor part2

* Clean and refactor part2

* Refactor middleware

* Refactor middleware

* Clean and refactor part3

* TDD and 2 beers

* TDD and 2 beers

* Complete state endpoints

* You can only set what is already present

* Use only JSON as response

* Use default logger

* Improve auth extraction

* Extend api command with more args

* Adjust API messages
2026-05-11 16:31:45 +02:00
harisreedhar f1149ebc84 remove output_path argument 2026-05-11 16:31:45 +02:00
harisreedhar 7870e67fdc remove output_path argument from merge_video() 2026-05-11 16:31:45 +02:00
harisreedhar 05264ac760 remove output_video_fps argument from merge_video() 2026-05-11 16:31:45 +02:00
harisreedhar 71916e4e66 rename method argument 2026-05-11 16:31:45 +02:00
harisreedhar c903438c3f fix 2026-05-11 16:31:45 +02:00
harisreedhar 51d4ec63b0 remove same file extension constraint 2026-05-11 16:31:45 +02:00
Henry Ruhs 92b1e1b3e3 Refactor reusable workflow tasks (#980)
* Refactor reusable workflow tasks

* Refactor reusable workflow tasks

* Make it borderline again
2026-05-11 16:31:45 +02:00
Henry Ruhs 1173493e84 Feels so good to get rid of Gradio (#978) 2026-05-11 16:31:45 +02:00
henryruhs daf906097e Mark es temporary v4 2026-05-11 16:31:43 +02:00
Henry Ruhs 5b7d145aa7 Patch 3.6.1 (#1078)
* Avast intercepts ssl cert and breaks curl

* modernize dependencies

* fix sanitizer for int range

* comment out tests

* disable testing for CI

* disable testing for CI
3.6.1
2026-04-19 21:17:39 +02:00
Henry Ruhs 519360bcd6 Update LICENSE.md 2026-04-01 09:10:08 +02:00
Henry Ruhs 57fcb86b82 3.6.0 (#1062)
* mark as next

* add fran model

* add support for corridor key (#1060)

* introduce despill color

* simplify the apply dispill color

* finalize naming for both fill and despill

* follow vision_frame convension

* patch fran model

* adjust fran urls

* Feat/dynamic env setup (#1061)

* dynamic environment setup

* dynamic environment setup

* fix fran model

* prevent directml using incompatible corridor_key model

* fix environment setup for windows

* switch to corridor_key_1024 and corridor_key_2048

* switch to corridor_key_1024 and corridor_key_2048

* mark it as 3.6.0

* rename environment to conda

* rename environment to conda

* fix testing for face analyser

* some background remove cosmetics

* some background remove cosmetics

* some background remove cosmetics

* update preview

---------

Co-authored-by: harisreedhar <h4harisreedhar.s.s@gmail.com>
3.6.0
2026-03-16 15:08:43 +01:00
henryruhs 2cc05d4fba update licenses 2026-03-09 21:24:53 +01:00
Henry Ruhs a498f3d618 Patch 3.5.4 (#1055)
* remove insecure flag from curl

* eleminate repating definitons

* limit processors and ui layouts by choices

* follow couple of v4 standards

* use more secure mkstemp

* dynamic cache path for execution providers

* fix benchmarker, prevent path traveling via job-id

* fix order in execution provider choices

* resort by prioroty

* introduce support for QNN

* close file description for Windows to stop crying

* prevent ConnectionResetError under windows

* needed for nested .caches directory as onnxruntime does not create it

* different approach to silent asyncio

* update dependencies

* simplify the name to just inference providers

* switch to trt_builder_optimization_level 4
3.5.4
2026-03-08 11:00:45 +01:00
Henry Ruhs c7976ec9d4 Fix list literal spacing to use [ x, y ] style (#1044)
Enforce consistent space inside square brackets for all list literals
across source and test files.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2026-02-18 09:18:03 +01:00
Henry Ruhs 8801668562 3.5.3
* honor webcam resolution to avoid stripe mismatch, update dependencies

* avoid version conflicts

* enforce prores video extraction to 8 bit

* make the installer more robust on execution switch

* make the installer more robust on execution switch

* improve the installer env handling

* different approach to handle env
3.5.3
2026-02-11 09:35:08 +01:00
Henry Ruhs a7f3de3dbc Rename local(s) to locale(s) (#1008) 2025-12-17 18:37:51 +01:00
Henry Ruhs 666c15f9da Patch 3.5.2 (#1002)
* Remove old files

* Fix some spacing

* Introduce retry to download

* More testing

* Better installer scripting (#994)

* Better installer scripting

* Add migraphx installer support

* Add migraphx installer support

* Ignore issue

* Ignore issue

* Make --force-install optional
3.5.2
2025-12-13 08:37:15 +01:00
Henry Ruhs 420d738a6b 3.5.1 (#985)
* Fix type for device id

* Fix type for device id

* Fix order

* Remove comma

* Replace Generator typing

* Replace Generator typing

* Conditional kill myself (#984)

* Introduce conditional remove mask

* fix

---------

Co-authored-by: harisreedhar <h4harisreedhar.s.s@gmail.com>

---------

Co-authored-by: harisreedhar <h4harisreedhar.s.s@gmail.com>
3.5.1
2025-11-19 17:39:42 +01:00
henryruhs 81c5e85dea Remove invalid command 3.5.0 2025-11-07 12:37:21 +01:00
Henry Ruhs 8bf9170577 3.5.0 (#977)
* Mark as NEXT

* Reduce caching to avoid RAM explosion

* Reduce caching to avoid RAM explosion

* Update dependencies

* add face-detector-pad-factor

* update facefusion.ini

* fix test

* change pad to margin

* fix order

* add prepare margin

* use 50% max margin

* Minor fixes part2

* Minor fixes part3

* Minor fixes part4

* Minor fixes part1

* Downgrade onnxruntime as of BiRefNet broken on CPU

add test

update

update facefusion.ini

add birefnet

* rename models

add more models

* Fix versions

* Add .claude to gitignore

* add normalize color

add 4 channel

add colors

* worflows

* cleanup

* cleanup

* cleanup

* cleanup

* add more models (#961)

* Fix naming

* changes

* Fix style and mock Gradio

* Fix style and mock Gradio

* Fix style and mock Gradio

* apply clamp

* remove clamp

* Add normalizer test

* Introduce sanitizer for the rescue (#963)

* Introduce sanitizer for the rescue

* Introduce sanitizer for the rescue

* Introduce sanitizer for the rescue

* prepare ffmpeg for alpha support

* Some cleanup

* Some cleanup

* Fix CI

* List as TypeAlias is not allowed (#967)

* List as TypeAlias is not allowed

* List as TypeAlias is not allowed

* List as TypeAlias is not allowed

* List as TypeAlias is not allowed

* Add mpeg and mxf support (#968)

* Add mpeg support

* Add mxf support

* Adjust fix_xxx_encoder for the new formats

* Extend output pattern for batch-run (#969)

* Extend output pattern for batch-run

* Add {target_extension} to allowed mixed files

* Catch invalid output pattern keys

* alpha support

* cleanup

* cleanup

* add ProcessorOutputs type

* fix preview and streamer, support alpha for background_remover

* Refactor/open close processors (#972)

* Introduce open/close processors

* Add locales for translator

* Introduce __autoload__ for translator

* More cleanup

* Fix import issues

* Resolve the scope situation for locals

* Fix installer by not using translator

* Fixes after merge

* Fixes after merge

* Fix translator keys in ui

* Use LOCALS in installer

* Update and partial fix DirectML

* Use latest onnxruntime

* Fix performance

* Fix lint issues

* fix mask

* fix lint

* fix lint

* Remove default from translator.get()

* remove 'framerate='

* fix test

* Rename and reorder models

* Align naming

* add alpha preview

* fix frame-by-frame

* Add alpha effect via css

* preview support alpha channel

* fix preview modes

* Use official assets repositories

* Add support for u2net_cloth

* fix naming

* Add more models

* Add vendor, license and year direct to the models

* Add vendor, license and year direct to the models

* Update dependencies, Minor CSS adjustment

* Ready for 3.5.0

* Fix naming

* Update about messages

* Fix return

* Use groups to show/hide

* Update preview

* Conditional merge mask

* Conditional merge mask

* Fix import order

---------

Co-authored-by: harisreedhar <h4harisreedhar.s.s@gmail.com>
Co-authored-by: Harisreedhar <46858047+harisreedhar@users.noreply.github.com>
2025-11-03 14:05:15 +01:00
Henry Ruhs 189d750621 3.4.2 (#975)
* Reduce caching to avoid RAM explosion

* Reduce caching to avoid RAM explosion

* Reduce caching to avoid RAM explosion

* fix bounding_box scale

* Bump to 3.4.2

* More conservative on audio caching

* Fix coverage issue

* Fix coverage issue

---------

Co-authored-by: harisreedhar <h4harisreedhar.s.s@gmail.com>
3.4.2
2025-10-29 11:51:42 +01:00
Henry Ruhs f3be23d19b Patch (#947)
* Fix preview when using frame enhancer

* Fix version conflict numpy vs. cv2

* Use latest numpy

* Introduce scale_face() to match size of temp frames and target frames

* Remove hardcoded backend for camera under Windows

* Up and downgrade some dependencies

* Up and downgrade some dependencies

* Up and downgrade some dependencies
3.4.1
2025-09-11 16:58:39 +02:00
henryruhs 16e84b43ce Update preview 3.4.0 2025-09-08 10:54:22 +02:00