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: actions/checkout@v2
|
||||||
- uses: ./.github/actions/moshi_build
|
- uses: ./.github/actions/moshi_build
|
||||||
- run: |
|
- run: |
|
||||||
. env/bin/activate
|
source env/bin/activate
|
||||||
bash .git/hooks/pre-commit
|
pre-commit run --all-files
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,9 @@ def main():
|
||||||
callback=audio_callback,
|
callback=audio_callback,
|
||||||
):
|
):
|
||||||
with tts_model.mimi.streaming(1):
|
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)
|
time.sleep(3)
|
||||||
while True:
|
while True:
|
||||||
if pcms.qsize() == 0:
|
if pcms.qsize() == 0:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user