Compare commits
2 Commits
main
...
vv/fix-pre
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e497a53f0b | ||
|
|
2683557584 |
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