Video Bugfix + generator (#96)

* Code

* Fix demo

* move to init

---------

Co-authored-by: Freddy Boulton <freddyboulton@hf-freddy.local>
This commit is contained in:
Freddy Boulton
2025-02-27 12:30:19 -05:00
committed by GitHub
parent 43e42c1b22
commit 9cc0278985
13 changed files with 73 additions and 41 deletions

View File

@@ -63,7 +63,7 @@ class AppState:
ReplyFnGenerator = (
Callable[
[tuple[int, NDArray[np.int16]], list[dict[Any, Any]]],
[tuple[int, NDArray[np.int16]], Any],
Generator[EmitType, None, None],
]
| Callable[
@@ -75,7 +75,7 @@ ReplyFnGenerator = (
AsyncGenerator[EmitType, None],
]
| Callable[
[tuple[int, NDArray[np.int16]], list[dict[Any, Any]]],
[tuple[int, NDArray[np.int16]], Any],
AsyncGenerator[EmitType, None],
]
)