Commit Graph

543 Commits

Author SHA1 Message Date
henryruhs 87c2eebb2d experiment to run video via websocket 2026-03-20 10:49:32 +01:00
henryruhs 3acb71c44e merge stuff 2026-03-17 14:55:36 +01:00
Henry Ruhs 0d0c27b117 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-03-17 14:03:34 +01:00
Harisreedhar b67aaf1cd1 add download action (#1057) 2026-03-17 14:03:10 +01:00
henryruhs 85f097d85c fix stream of videos 2026-03-17 14:03:10 +01:00
harisreedhar 7144c2b5b7 fix execution.py import order 2026-03-17 14:03:07 +01:00
henryruhs 10dfe9139e burn ui with fire 2026-03-17 14:03:07 +01:00
henryruhs c9a5b83da8 updates for v4
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 14:03:07 +01:00
Harisreedhar ab24cd3f2e 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-03-17 14:02:40 +01:00
henryruhs 9159f45a5f fix benchmarker, prevent path traveling via job-id 2026-03-17 14:02:40 +01:00
Harisreedhar e57713c3c6 Rename process to stream (#1053)
* rename process to stream

* remove /image and add webrtc_stream_video scaffolding

* remove _image
2026-03-17 14:02:16 +01:00
Henry Ruhs 1a7e4c3807 remove more type ignore (#1052) 2026-03-17 14:02:16 +01:00
Henry Ruhs a2a02cfd8a 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-03-17 14:02:16 +01:00
Harisreedhar 4f149eb61d Remove unused code to improve test coverage (#1050)
* remove unused code

* move create_session_guard to middlewares
2026-03-17 14:02:16 +01:00
Henry Ruhs 2af4206fc5 better args types (#1049)
* fix lint and remove unused types, restructure helpers

* fix lint

* fix lint

* fix lint
2026-03-17 14:02:16 +01:00
Henry Ruhs c25e0a2f88 rename args store to capability store (#1048)
* rename args store to capability store

* fix lint and remove unused types
2026-03-17 14:02:16 +01:00
Harisreedhar cd3023b9e1 Improve tests (#1047)
* improve tests

* does it hurt someone to have crazy numbers?

---------

Co-authored-by: henryruhs <info@henryruhs.com>
2026-03-17 14:02:16 +01:00
harisreedhar d90b796b51 fix pre-check issue 2026-03-17 14:02:16 +01:00
harisreedhar b3afacf670 remove pre_check 2026-03-17 14:02:16 +01:00
harisreedhar 2d1269e5e6 remove program 2026-03-17 14:02:16 +01:00
harisreedhar 6152ecc973 remove while True and websocket code 2026-03-17 14:02:16 +01:00
harisreedhar 7957640f61 hopefully fix test 2026-03-17 14:02:16 +01:00
harisreedhar 2ee01b38ee pre_check() on test instead 2026-03-17 14:02:16 +01:00
harisreedhar c35cf5a607 pre_check() when command == api 2026-03-17 14:02:16 +01:00
harisreedhar 7a105a4c8d fix naming and remove unwanted state initialization 2026-03-17 14:02:16 +01:00
harisreedhar 1fc87c275e init 'face_selector_mode' to many 2026-03-17 14:02:16 +01:00
harisreedhar 1412820c34 remove temp storing to disk 2026-03-17 14:02:16 +01:00
harisreedhar a347c6081c update exception 2026-03-17 14:02:16 +01:00
harisreedhar 26a950e595 update test 2026-03-17 14:02:16 +01:00
harisreedhar 7affeb7e3b process image 2026-03-17 14:02:16 +01:00
Harisreedhar 08653f85ff 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-03-17 14:02:16 +01:00
henryruhs 2e78cf4617 fix args store 2026-03-17 14:02:16 +01:00
henryruhs c21725f0a8 bump dependencies 2026-03-17 14:02:16 +01:00
henryruhs 2b447503d5 allow register_arguments to be nested, fix types, adjust processors 2026-03-17 14:02:16 +01:00
harisreedhar f36ae318fd reformat test_api_state.py 2026-03-17 14:02:16 +01:00
harisreedhar a94209507d introduce type ArgumentSet 2026-03-17 14:02:16 +01:00
harisreedhar 8dba29ef18 remove unwanted assertions 2026-03-17 14:02:16 +01:00
harisreedhar eb72ec461b remove value None as default 2026-03-17 14:02:16 +01:00
harisreedhar 298dbc80f3 remove value None as default 2026-03-17 14:02:16 +01:00
harisreedhar 4ab2d81580 add test_api_capabilities.py 2026-03-17 14:02:16 +01:00
henryruhs eae6d41540 add get_xxx_set to args store 2026-03-17 14:02:16 +01:00
henryruhs 05a15b937e fix spacing quite a bit 2026-03-17 14:02:16 +01:00
harisreedhar fb75fb894d conditional choices, speaking Alias ArgumentValue, different formatting for program.py 2026-03-17 14:02:13 +01:00
harisreedhar 4fae6af88d fix test 2026-03-17 14:02:13 +01:00
harisreedhar 88b3241b61 add capabilities 2026-03-17 14:02:13 +01:00
henryruhs cd2e09aa02 remove unused method 2026-03-17 14:02:07 +01:00
harisreedhar ceedde9994 add capabilities endpoint 2026-03-17 14:02:07 +01:00
harisreedhar b39af57f22 hopefully fix CI 2026-03-17 14:02:07 +01:00
harisreedhar ce0f989c28 remove has methods 2026-03-17 14:02:07 +01:00
harisreedhar ceab5c4a63 add has_amd_execution_provider and has_nvidia_execution_provider 2026-03-17 14:02:07 +01:00