mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
simple streaming
This commit is contained in:
parent
6c59692f71
commit
6fdba0822e
@ -3295,14 +3295,14 @@ class LLMASRXvecSlotTTS(nn.Module):
|
||||
return cur_token, feat, wav
|
||||
|
||||
def simple_streaming_generate_speech(
|
||||
self,
|
||||
preds,
|
||||
states,
|
||||
llm_cur_kv_cache,
|
||||
llm_cur_kv_cache_len,
|
||||
is_last=False,
|
||||
text_chunk_size=8,
|
||||
format="mp3",
|
||||
self,
|
||||
preds,
|
||||
states,
|
||||
llm_cur_kv_cache,
|
||||
llm_cur_kv_cache_len,
|
||||
is_last=False,
|
||||
text_chunk_size=8,
|
||||
format="mp3",
|
||||
):
|
||||
|
||||
new_text, last_t_size, prompt_token, prompt_audio, chunk_idx = (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user