Spaces:
Running
on
Zero
Running
on
Zero
Update web_demo.py
Browse files- web_demo.py +2 -0
web_demo.py
CHANGED
@@ -347,6 +347,8 @@ def main():
|
|
347 |
audio_tokenizer = get_audio_tokenizer(
|
348 |
audio_tokenizer_path, audio_tokenizer_type, flow_path=flow_path, rank=audio_tokenizer_rank
|
349 |
)
|
|
|
|
|
350 |
from evaluation.get_chat_template import qwen2_chat_template as chat_template
|
351 |
|
352 |
tokenizer = AutoTokenizer.from_pretrained(
|
|
|
347 |
audio_tokenizer = get_audio_tokenizer(
|
348 |
audio_tokenizer_path, audio_tokenizer_type, flow_path=flow_path, rank=audio_tokenizer_rank
|
349 |
)
|
350 |
+
audio_tokenizer.load_model()
|
351 |
+
|
352 |
from evaluation.get_chat_template import qwen2_chat_template as chat_template
|
353 |
|
354 |
tokenizer = AutoTokenizer.from_pretrained(
|