Commit Graph

543 Commits

Author SHA1 Message Date
Henry Ruhs efab505adb asset validation and image encoder lookup (#1058)
* asset validation and image encoder lookup

* asset validation and image encoder lookup

* asset validation and image encoder lookup
2026-05-11 16:36:23 +02:00
Harisreedhar 246d48e079 add download action (#1057) 2026-05-11 16:36:23 +02:00
henryruhs 980c2d3939 fix stream of videos 2026-05-11 16:36:23 +02:00
harisreedhar f0cacba52b fix execution.py import order 2026-05-11 16:36:23 +02:00
henryruhs 61aa016659 burn ui with fire 2026-05-11 16:36:23 +02:00
henryruhs dedf2bf829 updates for v4
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-11 16:36:22 +02:00
Harisreedhar ad1a6c9ea3 Implement basic webrtc stream (#1054)
* implement basic webrtc_stream

* add aiortc to requirements.txt

* update aiortc version

* rename variables with rtc_ prefix

* changes

* changes

* change helper to assert_helper and stream_helper

* rename variables with rtc_ prefix

* add error handling

* return whole connection

* remove monkey patch and some cleaning

* cleanup

* tiny adjustments

* tiny adjustments

* proper typing and naming for rtc offer set

* - remove async from on_video_track method
- rename source -> target
- add audio

* audio always before video

---------

Co-authored-by: henryruhs <info@henryruhs.com>
2026-05-11 16:36:03 +02:00
henryruhs 9c0859ade0 fix benchmarker, prevent path traveling via job-id 2026-05-11 16:36:01 +02:00
Harisreedhar 1ba2adc10b Rename process to stream (#1053)
* rename process to stream

* remove /image and add webrtc_stream_video scaffolding

* remove _image
2026-05-11 16:35:16 +02:00
Henry Ruhs 078041461d remove more type ignore (#1052) 2026-05-11 16:35:16 +02:00
Henry Ruhs 5ca5e1c2af Better args types part2 (#1051)
* remove helper methods finally

* state becomes the total truth now

* state becomes the total truth now

* state becomes the total truth now

* state becomes the total truth now

* add ini file
2026-05-11 16:35:16 +02:00
Harisreedhar 401118106a Remove unused code to improve test coverage (#1050)
* remove unused code

* move create_session_guard to middlewares
2026-05-11 16:35:16 +02:00
Henry Ruhs f69fa62fa2 better args types (#1049)
* fix lint and remove unused types, restructure helpers

* fix lint

* fix lint

* fix lint
2026-05-11 16:35:16 +02:00
Henry Ruhs ef47b17a4a rename args store to capability store (#1048)
* rename args store to capability store

* fix lint and remove unused types
2026-05-11 16:35:16 +02:00
Harisreedhar 7c078644ad Improve tests (#1047)
* improve tests

* does it hurt someone to have crazy numbers?

---------

Co-authored-by: henryruhs <info@henryruhs.com>
2026-05-11 16:35:16 +02:00
harisreedhar 47bdcd67f1 fix pre-check issue 2026-05-11 16:35:16 +02:00
harisreedhar f83ff29116 remove pre_check 2026-05-11 16:35:16 +02:00
harisreedhar 91067c6394 remove program 2026-05-11 16:35:16 +02:00
harisreedhar 1e8c042473 remove while True and websocket code 2026-05-11 16:35:16 +02:00
harisreedhar 1f0af5906d hopefully fix test 2026-05-11 16:35:16 +02:00
harisreedhar 887a6ac1c7 pre_check() on test instead 2026-05-11 16:35:16 +02:00
harisreedhar 4338d16d17 pre_check() when command == api 2026-05-11 16:35:16 +02:00
harisreedhar a21c23173e fix naming and remove unwanted state initialization 2026-05-11 16:35:16 +02:00
harisreedhar cd3f6f2224 init 'face_selector_mode' to many 2026-05-11 16:35:16 +02:00
harisreedhar f2d9eb7f0b remove temp storing to disk 2026-05-11 16:35:16 +02:00
harisreedhar c59596e096 update exception 2026-05-11 16:35:16 +02:00
harisreedhar 4a0f4bcb9a update test 2026-05-11 16:35:16 +02:00
harisreedhar b5a89971c4 process image 2026-05-11 16:35:16 +02:00
Harisreedhar 53845585ef Feat/refactor args (#1045)
* follow the new argument naming convention

* revert

* use get_xxx_arguments

* Simple fix Args

* Fix more stuff

---------

Co-authored-by: henryruhs <info@henryruhs.com>
2026-05-11 16:35:16 +02:00
henryruhs 16d2fbf6f2 fix args store 2026-05-11 16:35:16 +02:00
henryruhs 7a6ef94b26 bump dependencies 2026-05-11 16:35:16 +02:00
henryruhs 9486750f38 allow register_arguments to be nested, fix types, adjust processors 2026-05-11 16:35:16 +02:00
harisreedhar 1181307a0e reformat test_api_state.py 2026-05-11 16:35:16 +02:00
harisreedhar e7a28cf072 introduce type ArgumentSet 2026-05-11 16:35:16 +02:00
harisreedhar ecc280a93f remove unwanted assertions 2026-05-11 16:35:16 +02:00
harisreedhar aa83142ab5 remove value None as default 2026-05-11 16:35:16 +02:00
harisreedhar 2a60280182 remove value None as default 2026-05-11 16:35:16 +02:00
harisreedhar b9c11815f8 add test_api_capabilities.py 2026-05-11 16:35:16 +02:00
henryruhs accb615181 add get_xxx_set to args store 2026-05-11 16:35:16 +02:00
henryruhs 5f70cbd0a3 fix spacing quite a bit 2026-05-11 16:35:16 +02:00
harisreedhar 485041c5cc conditional choices, speaking Alias ArgumentValue, different formatting for program.py 2026-05-11 16:35:16 +02:00
harisreedhar e16f5bca11 fix test 2026-05-11 16:35:16 +02:00
harisreedhar 02ba86308e add capabilities 2026-05-11 16:35:16 +02:00
henryruhs fddb5c927b remove unused method 2026-05-11 16:35:16 +02:00
harisreedhar f0dc10a2f5 add capabilities endpoint 2026-05-11 16:35:16 +02:00
harisreedhar 53d0ed0e1c hopefully fix CI 2026-05-11 16:35:16 +02:00
harisreedhar f71bbab71e remove has methods 2026-05-11 16:35:16 +02:00
harisreedhar 300b4f73a1 add has_amd_execution_provider and has_nvidia_execution_provider 2026-05-11 16:35:16 +02:00
harisreedhar 7e00035fdd fix cache 2026-05-11 16:35:16 +02:00
harisreedhar f475ec4bbc remove try block, make detect_graphic_devices stateless, cosmetics 2026-05-11 16:35:16 +02:00