facebookresearch / audiocraft

Audiocraft is a library for audio processing and generation with deep learning. It features the state-of-the-art EnCodec audio compressor / tokenizer, along with MusicGen, a simple and controllable music generation LM with textual and melodic conditioning.
MIT License
20.17k stars 2.01k forks source link

Error musicgen_app.py #406

Open Zafkieldark opened 5 months ago

Zafkieldark commented 5 months ago

False Traceback (most recent call last): File "D:\Work\Voice_Changer_OpenSorce\audiocraft\demos\musicgen_app.py", line 526, in ui_full(launch_kwargs) File "D:\Work\Voice_Changer_OpenSorce\audiocraft\demos\musicgen_app.py", line 296, in ui_full gr.Examples( File "D:\Work\Voice_Changer_OpenSorce\audiocraft\venv\lib\site-packages\gradio\helpers.py", line 58, in create_examples examples_obj = Examples( File "D:\Work\Voice_Changer_OpenSorce\audiocraft\venv\lib\site-packages\gradio\helpers.py", line 216, in init prediction_value = processing_utils.move_files_to_cache( File "D:\Work\Voice_Changer_OpenSorce\audiocraft\venv\lib\site-packages\gradio\processing_utils.py", line 265, in move_files_to_cache return client_utils.traverse(data, _move_to_cache, client_utils.is_file_obj) File "D:\Work\Voice_Changer_OpenSorce\audiocraft\venv\lib\site-packages\gradio_client\utils.py", line 919, in traverse return func(json_obj) File "D:\Work\Voice_Changer_OpenSorce\audiocraft\venv\lib\site-packages\gradio\processing_utils.py", line 257, in _move_to_cache temp_file_path = move_resource_to_block_cache(payload.path, block) File "D:\Work\Voice_Changer_OpenSorce\audiocraft\venv\lib\site-packages\gradio\processing_utils.py", line 234, in move_resource_to_block_cache return block.move_resource_to_block_cache(url_or_file_path) File "D:\Work\Voice_Changer_OpenSorce\audiocraft\venv\lib\site-packages\gradio\blocks.py", line 258, in move_resource_to_block_cache temp_file_path = processing_utils.save_file_to_cache( File "D:\Work\Voice_Changer_OpenSorce\audiocraft\venv\lib\site-packages\gradio\processing_utils.py", line 170, in save_file_to_cache temp_dir = hash_file(file_path) File "D:\Work\Voice_Changer_OpenSorce\audiocraft\venv\lib\site-packages\gradio\processing_utils.py", line 102, in hash_file with open(file_path, "rb") as f: