cocktailpeanut/audiocraft_plus.pinokio

Please help me . Can run Audio gen in Macm1

Opened this issue · 0 comments

When i clock generate . It error !
Screenshot 2023-08-19 at 00 27 26

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit https://support.apple.com/kb/HT208050.
bash-3.2$
bash-3.2$ source env/bin/activate env
(env) bash-3.2$ python app.py
False
Running on local URL: http://127.0.0.1:7861

To create a public link, set share=True in launch().
Loading model GrandaddyShmax/audiogen-medium
new batch 1 [[]] [None] [None]
Traceback (most recent call last):
File "/Users/felixduog/pinokio/api/audiocraft_plus.pinokio.git/audiocraft_plus/env/lib/python3.10/site-packages/gradio/routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "/Users/felixduog/pinokio/api/audiocraft_plus.pinokio.git/audiocraft_plus/env/lib/python3.10/site-packages/gradio/blocks.py", line 1431, in process_api
result = await self.call_function(
File "/Users/felixduog/pinokio/api/audiocraft_plus.pinokio.git/audiocraft_plus/env/lib/python3.10/site-packages/gradio/blocks.py", line 1109, in call_function
prediction = await anyio.to_thread.run_sync(
File "/Users/felixduog/pinokio/api/audiocraft_plus.pinokio.git/audiocraft_plus/env/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/Users/felixduog/pinokio/api/audiocraft_plus.pinokio.git/audiocraft_plus/env/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "/Users/felixduog/pinokio/api/audiocraft_plus.pinokio.git/audiocraft_plus/env/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
File "/Users/felixduog/pinokio/api/audiocraft_plus.pinokio.git/audiocraft_plus/env/lib/python3.10/site-packages/gradio/utils.py", line 706, in wrapper
response = f(*args, **kwargs)
File "/Users/felixduog/pinokio/api/audiocraft_plus.pinokio.git/audiocraft_plus/app.py", line 796, in predict_full
outs, outs_audio, outs_backup, input_length = _do_predictions(
File "/Users/felixduog/pinokio/api/audiocraft_plus.pinokio.git/audiocraft_plus/app.py", line 471, in _do_predictions
outputs = MODEL.generate(texts, progress=progress)
File "/Users/felixduog/pinokio/api/audiocraft_plus.pinokio.git/audiocraft_plus/audiocraft/models/audiogen.py", line 142, in generate
return self._generate_tokens(attributes, prompt_tokens, progress)
File "/Users/felixduog/pinokio/api/audiocraft_plus.pinokio.git/audiocraft_plus/audiocraft/models/audiogen.py", line 230, in _generate_tokens
attributes[0].text['description'] = prompt_list[0]
IndexError: list index out of range