mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-25 13:50:15 +08:00
.
This commit is contained in:
parent
f8d48917ba
commit
233e4415a1
@ -387,10 +387,7 @@ def prepare_chatml_sample(sample: Union[ChatMLSample, Dict], tokenizer):
|
|||||||
|
|
||||||
return input_tokens, audio_contents, speaker_id
|
return input_tokens, audio_contents, speaker_id
|
||||||
|
|
||||||
except Exception as e:
|
except Exception:
|
||||||
import json
|
|
||||||
print(f"Error in prepare_chatml_sample: {str(e)}")
|
|
||||||
print(f"Sample data: {json.dumps(sample, indent=2)}")
|
|
||||||
return None, None, None
|
return None, None, None
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user