Closed seruko11 closed 1 year ago
I also got that, they didn't stated in the repo at time i added bark it will be added next update. Meanwhile you can
pip install soundfile
@diStyApps does this need to be run in the bark-gui dir? or does an environment variable need to be changed to ensure it's detected? sorry for the dumb question
It's not a dumb question, it's a good question. But sorry for confusing you, i have uploaded a fix seait.v0.1.4_bark_soundfile_fix.zip
For most projects i check it they installed and work properly. But with bark, found myself playing with it for hours, so i was aware of that.
You don't have to do this you can download the fix, but now if something like that happens you will know how to activate environment.
To activate any environment in any project, be in the root folder.
For example: C:\DEMO\seait\bark-gui
Type CMD
in the Navigation bar.
Then type: venv\Scripts\activate
For example: C:\DEMO\seait\bark-gui>venv\Scripts\activate
After the environment is activated, it should look like this:
(venv) C:\DEMO\seait\bgui>venv\Scripts\activate
And then type pip install soundfile
@diStyApps Thank you very much!
@diStyApps Okay, I can now make prompts but they crash rather than render an output, should I create a new issue and close this one or keep posting here? What's your prefrence
Close this one and open new one.
trying to create a cloned voice but I get this error, may be related to either soundfile or PySoundFile, or mor likely missing torch audio installation/env
To create a public link, set
share=True
inlaunch()
. Traceback (most recent call last): File "C:\Users\toor\Desktop\Ai\seait_installers_version_0.1.4\bark-gui\venv\Lib\site-packages\gradio\routes.py", line 399, in run_predict output = await app.get_blocks().process_api( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\toor\Desktop\Ai\seait_installers_version_0.1.4\bark-gui\venv\Lib\site-packages\gradio\blocks.py", line 1299, in process_api result = await self.call_function( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\toor\Desktop\Ai\seait_installers_version_0.1.4\bark-gui\venv\Lib\site-packages\gradio\blocks.py", line 1022, in call_function prediction = await anyio.to_thread.run_sync( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\toor\Desktop\Ai\seait_installers_version_0.1.4\bark-gui\venv\Lib\site-packages\anyio\to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\toor\Desktop\Ai\seait_installers_version_0.1.4\bark-gui\venv\Lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread return await future ^^^^^^^^^^^^ File "C:\Users\toor\Desktop\Ai\seait_installers_version_0.1.4\bark-gui\venv\Lib\site-packages\anyio_backends_asyncio.py", line 867, in run result = context.run(func, args) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\toor\Desktop\Ai\seait_installers_version_0.1.4\bark-gui\venv\Lib\site-packages\gradio\helpers.py", line 588, in tracked_fn response = fn(args) ^^^^^^^^^ File "C:\Users\toor\Desktop\Ai\seait_installers_version_0.1.4\bark-gui\bark\clonevoice.py", line 20, in clone_voice wav, sr = torchaudio.load(audio_filepath) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\toor\Desktop\Ai\seait_installers_version_0.1.4\bark-gui\venv\Lib\site-packages\torchaudio\backend\no_backend.py", line 16, in load raise RuntimeError("No audio I/O backend is available.") RuntimeError: No audio I/O backend is available.