Commit Graph

181 Commits

Author SHA1 Message Date
henryruhs 44165eb0b7 Rename typing to types 2025-04-28 10:03:25 +02:00
henryruhs 997649ed4a Update ico 2025-04-28 10:03:25 +02:00
henryruhs c25f046c2b Add support for flac and opus audio format 2025-04-28 10:03:25 +02:00
henryruhs 359dddc121 Add support for flac and opus audio format 2025-04-28 10:03:25 +02:00
henryruhs c9296de559 Add m4a and m4v support 2025-04-28 10:03:25 +02:00
henryruhs e47140ea27 Fix spacing 2025-04-28 10:03:25 +02:00
henryruhs 616914d38f Improve the face selector experience 2025-04-28 10:03:25 +02:00
henryruhs 6cc21d7a91 Remove default value 2025-04-28 10:03:25 +02:00
henryruhs 6732a82af4 Fix audio range in restore audio 2025-04-28 10:03:25 +02:00
henryruhs 51a809310e Fix audio range in restore audio 2025-04-28 10:03:25 +02:00
henryruhs ddd83d0606 Fix audio range in restore audio 2025-04-28 10:03:25 +02:00
Henry Ruhs 296eea8577 Feat/halt on error (#862)
* Introduce halt-on-error

* Introduce halt-on-error

* Fix wording
2025-04-28 10:03:25 +02:00
henryruhs efc9652df4 Extend flake8 rules 2025-04-28 10:03:25 +02:00
henryruhs 2fc4d2b02e Fix typo 2025-04-28 10:03:25 +02:00
Henry Ruhs c70b45bd39 Feat/improve content analyser (#861)
* Introduce fit_frame to improve content analyser, rename resize_frame_resolution to restrict_frame

* Fix CI, Add some spaces

* Normalize according to face detector
2025-04-28 10:03:25 +02:00
henryruhs e79a99fac4 Skip the new test 2025-04-28 10:03:25 +02:00
henryruhs 5dc986d6b2 Skip the new test 2025-04-28 10:03:25 +02:00
henryruhs 2892dd484d Use latest Gradio 2025-04-28 10:03:25 +02:00
henryruhs 1eed88b0f5 Override for Gradio's nasty convert_video_to_playable_mp4() 2025-04-28 10:03:25 +02:00
henryruhs c363faa757 Remove Gradio preview interception for now 2025-04-28 10:03:25 +02:00
henryruhs cd6d2012f6 Remove upload event handler 2025-04-28 10:03:25 +02:00
henryruhs 1c06023160 Remove upload event handler 2025-04-28 10:03:25 +02:00
henryruhs 2e16b10200 Remove upload event handler 2025-04-28 10:03:25 +02:00
henryruhs 5f82c8dc7d Add some spacing 2025-04-28 10:03:25 +02:00
Henry Ruhs d260c28cf3 Feat/available encoders (#860)
* Introduce available audio encoders and video encoders

* Introduce available audio encoders and video encoders

* Introduce available audio encoders and video encoders

* Introduce available audio encoders and video encoders

* Add flac to audio encoders
2025-04-28 10:03:25 +02:00
henryruhs 30d9b038e4 Fix CI 2025-04-28 10:03:25 +02:00
henryruhs 02d11435a6 Simplify set_audio_sample_size() 2025-04-28 10:03:25 +02:00
henryruhs b9eb6a7cc0 Fix typo in get_file_format 2025-04-28 10:03:25 +02:00
henryruhs 4f32ed7868 Rename to read_video_frame 2025-04-28 10:03:25 +02:00
Henry Ruhs 0e6ee69c53 Feat/content analyser pro (#859)
* Update to Yolo powered content analyser

* Update to Yolo powered content analyser

* Fix typing

* Drop bounding boxes and NMS check

* Drop bounding boxes and NMS check

* Fix CI
2025-04-28 10:03:25 +02:00
henryruhs 87e3a80491 We name it InferenceSessionProvider 2025-04-28 10:03:25 +02:00
henryruhs dbbf3445b6 We name it InferenceSessionProvider 2025-04-28 10:03:25 +02:00
Henry Ruhs 5270bd679c Follow yolo convention, renaming in face detector (#858)
* Follow yolo convention, renaming in face detector

* Follow yolo convention, renaming in face detector
2025-04-28 10:03:25 +02:00
henryruhs 0ecebc8c82 Fix import 2025-04-28 10:03:25 +02:00
henryruhs f4255e66fa Add new model by Druuzil 2025-04-28 10:03:25 +02:00
henryruhs a45754892d Add logical blocks 2025-04-28 10:03:25 +02:00
henryruhs 9dd397579c Remove useless strip 2025-04-28 10:03:25 +02:00
henryruhs bedd75920d Update dependencies 2025-04-28 10:03:25 +02:00
henryruhs 3a437fdc92 Update dependencies 2025-04-28 10:03:25 +02:00
Henry Ruhs 3b80d66bf4 Feat/better resolve execution (#856)
* A better way to resolve execution providers

* Fix issues

* Fix issues
2025-04-28 10:03:25 +02:00
henryruhs 330f86a4e4 Use 255.0 everywhere 2025-04-28 10:03:25 +02:00
henryruhs 2f66bde116 get_file_extension needs lower() 2025-04-28 10:03:25 +02:00
Harisreedhar 01fff3c419 change face distance range to 0-1 (#855) 2025-04-28 10:03:25 +02:00
henryruhs e5278996d1 Add tiff image format 2025-04-28 10:03:25 +02:00
Henry Ruhs faf5020051 Suggest best execution provider, Simplify ONNXRUNTIME_SET (#854) 2025-04-28 10:03:25 +02:00
henryruhs 732f096da0 Reintroduce the hack for coreml 2025-04-28 10:03:25 +02:00
henryruhs 2d95e409cb Remove default values 2025-04-28 10:03:25 +02:00
henryruhs 0553ef4766 Drop has_inference_model and solve issue on Gradio side 2025-04-28 10:03:25 +02:00
henryruhs ed8e25dbb2 Drop has_inference_model and solve issue on Gradio side 2025-04-28 10:03:25 +02:00
henryruhs b11cb07aea Move render table to cli helper 2025-04-28 10:03:25 +02:00