Run pre-commit correctly in CI (#66)
* fix and break * Remove intentional error
This commit is contained in:
parent
7336d7a3da
commit
cafac63222
4
.github/workflows/precommit.yml
vendored
4
.github/workflows/precommit.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user