Run pre-commit correctly in CI (#66)

* fix and break

* Remove intentional error
This commit is contained in:
Václav Volhejn 2025-07-08 10:11:52 +02:00 committed by GitHub
parent 7336d7a3da
commit cafac63222
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View File

@ -13,5 +13,5 @@ jobs:
- uses: actions/checkout@v2
- uses: ./.github/actions/moshi_build
- run: |
. env/bin/activate
bash .git/hooks/pre-commit
source env/bin/activate
pre-commit run --all-files

View File

@ -101,7 +101,9 @@ def main():
callback=audio_callback,
):
with tts_model.mimi.streaming(1):
tts_model.generate([entries], [condition_attributes], on_frame=_on_frame)
tts_model.generate(
[entries], [condition_attributes], on_frame=_on_frame
)
time.sleep(3)
while True:
if pcms.qsize() == 0: