Skip to content

Commit

Permalink
SoraVAD::Analyze の引数にも名前がなかったので修正する
Browse files Browse the repository at this point in the history
  • Loading branch information
tnoho committed Sep 3, 2023
1 parent be9f0b5 commit a10a36c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sora_sdk_ext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ NB_MODULE(sora_sdk_ext, m) {

nb::class_<SoraVAD>(m, "SoraVAD")
.def(nb::init<>())
.def("analyze", &SoraVAD::Analyze);
.def("analyze", &SoraVAD::Analyze, "frame"_a);

nb::class_<SoraVideoFrame>(m, "SoraVideoFrame")
.def("data", &SoraVideoFrame::Data, nb::rv_policy::reference);
Expand Down

0 comments on commit a10a36c

Please sign in to comment.