Commit Graph

161 Commits

Author SHA1 Message Date
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
henryruhs 964fab8724 no, jpeg IS a format 2025-04-28 10:03:24 +02:00
henryruhs 9d9805a03b jpeg is not a format 2025-04-28 10:03:24 +02:00
harisreedhar 169d578a14 jpeg support 2025-04-28 10:03:24 +02:00
henryruhs 63de6a8d8a Use numpy to transform ranges 2025-04-28 10:03:24 +02:00
henryruhs 56ba551630 Fix set video quality 2025-04-28 10:03:24 +02:00
henryruhs b8ebcf9fe3 Fix set audio quality 2025-04-28 10:03:24 +02:00
Henry Ruhs 8a9e08f3a2 Feat/commands builder (#852)
* Protype for ffmpeg builder

* Protype for ffmpeg builder

* Add curl builder

* Fix typing import

* Adjust commands indent

* Protype for ffmpeg builder part2

* Protype for ffmpeg builder part3

* Protype for ffmpeg builder part3

* Add chain() helper to the builders

* Protype for ffmpeg builder part4

* Protype for ffmpeg builder part5

* Protoype for ffmpeg builder part5

* Protoype for ffmpeg builder part6

* Allow dynamic audio size

* Fix testing

* Protoype for ffmpeg builder part7

* Fix and polish ffmpeg builder

* Hardcode the log level for ffmpeg

* More ffmpeg rework

* Prototype for ffmpeg builder part8

* Prototype for ffmpeg builder part9

* Fix CI

* Fix Styles

* Add lazy testing, User Agent for CURL

* More testing

* More testing
2025-04-28 10:03:24 +02:00
Henry Ruhs 7f90ca72bb Add another xseg model, Simplify download mapping (#851) 2025-04-28 10:03:24 +02:00
Henry Ruhs 71092cb951 Improve and simplify installer (#850) 2025-04-28 10:03:24 +02:00
henryruhs fbe2e57da6 Fix typing import 2025-04-28 10:03:24 +02:00
henryruhs 99c514c58f Introduce Commands type 2025-04-28 10:03:24 +02:00
henryruhs 36ddef4ba1 Adjust wording 2025-04-28 10:03:24 +02:00
Henry Ruhs 5b76f54332 Feat/more audio settings (#849)
* Add more audio settings, revamp some ffmpeg commands

* Add more audio settings, revamp some ffmpeg commands

* Add more audio settings, revamp some ffmpeg commands

* Add more audio settings, revamp some ffmpeg commands
2025-04-28 10:03:24 +02:00
Henry Ruhs c5bc7c50a5 Fix/remote inference pool lookups (#848)
* Fix edge case when offline and inference session has no model, Prevent inference session creation

* Fix edge case when offline and inference session has no model, Prevent inference session creation

* Fix edge case when offline and inference session has no model, Prevent inference session creation

* Fix edge case when offline and inference session has no model, Prevent inference session creation
2025-04-28 10:03:24 +02:00
Henry Ruhs 87350eb45f Support for download provider mirrors (#847) 2025-04-28 10:03:24 +02:00
Henry Ruhs 6f0675030e Feat/custom file format handling (#845)
* Purge filetype dependency, Rename file_extension to file_format, Introduce custom format detections

* Changed a lot

* Purge filetype dependency, Rename file_extension to file_format, Introduce custom format detections

* Fix stuff

* Fix stuff

* Simplify all the is_ and has_ methods

* Simplify all the is_ and has_ methods

* Use the new helper on more places

* Introduce are_ next to is_ and has_

* Get rid of the type-ignores

* Add more video types
2025-04-28 10:03:24 +02:00
henryruhs bb32135af2 Add 10 seconds timeout for curl 2025-04-28 10:03:24 +02:00
henryruhs 749abc3406 Fix CI 2025-04-28 10:03:24 +02:00
henryruhs 612fd70e54 Remove Windows-only path sanitization 2025-04-28 10:03:24 +02:00
henryruhs eb2f794ece Extend testing 2025-04-28 10:03:24 +02:00