GithubHelp home page GithubHelp logo

lukaszliniewicz / pandrator Goto Github PK

View Code? Open in Web Editor NEW
126.0 6.0 10.0 4.34 MB

Pandrator aspires to be a user-friendly app with a graphical interface and a one-click installer that creates high-quality speech from text in multiple languages (audiobooks, speech synchronised with subtitles and more) using local models (XTTS, Silero or VoiceCraft), plus voice cloning, LLM pre-processing, RVC enhancement, and automatic evaluation

License: GNU Affero General Public License v3.0

Python 100.00%
audiobook audiobook-creator audiobook-maker audiobooks text-processing text-to-speech customtkinterprojects llm nisqa rvc

pandrator's People

Contributors

lukaszliniewicz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pandrator's Issues

colab

Hi, how are you?
How do I get it to run on colab? My cpu is very weak, how can I make it work in colab, could you help me?

urllib3.connection. HTTPConnection

Ekran Görüntüsü (9)
Failed to connect to the local server:
HTTPConnectionPool(host="localhost', port=8020): Maximum retries
exceeded with url: /speakers list (Cause
NewConnection€rrort'<urllib3.connection. HTTPConnection object
0x000001C549E54880>: Failed to establish a new connection:
[Win€rror 10061] Because the target machine actively rejected
the connection cannot be established))

i try localhost change 0.0.0.0 and firewall unblock. but not work

Some more error after stoped processing an resuming i got this error cannot access local variable 'preprocessed_sentences' where it is not associated with a value

Your app is realy awsome ( result is realy great we should make it simple to use and with all the api server but annother story)

2024-04-25 02:21:04,244 - DEBUG - http://localhost:8020 "GET /docs HTTP/1.1" 200 939
Exception in thread Thread-5 (start_optimisation):
Traceback (most recent call last):
File "/usr/lib64/python3.12/threading.py", line 1073, in _bootstrap_inner
self.run()
File "/usr/lib64/python3.12/threading.py", line 1010, in run
self._target(*self._args, **self._kwargs)
File "/var/home/yodatak/Projets/public/Pandrator/pandrator.py", line 1959, in start_optimisation
for sentence_dict in preprocessed_sentences:
^^^^^^^^^^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'preprocessed_sentences' where it is not associated with a value
2024-04-25 02:21:09,848 - DEBUG - Starting new HTTP connection (1): localhost:8020
2024-04-25 02:21:09,849 - DEBUG - http://localhost:8020 "GET /docs HTTP/1.1" 200 939
Exception in thread Thread-6 (start_optimisation):
Traceback (most recent call last):
File "/usr/lib64/python3.12/threading.py", line 1073, in _bootstrap_inner
self.run()
File "/usr/lib64/python3.12/threading.py", line 1010, in run
self._target(*self._args, **self._kwargs)
File "/var/home/yodatak/Projets/public/Pandrator/pandrator.py", line 1959, in start_optimisation
for sentence_dict in preprocessed_sentences:
^^^^^^^^^^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'preprocessed_sentences' where it is not associated with a value

UI hangs in Arch linux

hitting "new session" doesn't create json file. Only session directory is created after loading book with three .txt files. After connecting to server and hitting "start generation" it hangs UI with doing something in background.

pygame` 2.5.2 (SDL 2.28.2, Python 3.12.3)

Hello from the pygame community. https://www.pygame.org/contribute.html
This plataform is not currently supported, check 'support.txt' file for
            information on how to run this class on other platforms.
[nltk_data] Downloading package punkt to /home/nltk_data...
[nltk_data]   Package punkt is already up-to-date!
Icon file 'pandrator.ico' not found. Proceeding without setting the window icon.
Error details: bitmap "pandrator.ico" not defined
1% Converting input to HTML...
InputFormatPlugin: EPUB Input running
on /run/media/lin/Pandrator/Fck_Feelings_One_Shrinks_Practical_Advice_for_Managing_All_Lifes.epub
Found HTML cover ops/xhtml/cover.html
Parsing all content...
34% Running transforms on e-book...
Merging user specified metadata...
Detecting structure...
        Detected chapter: chapter one
        Detected chapter: chapter two
        Detected chapter: chapter three
        Detected chapter: chapter four
        Detected chapter: chapter five
        Detected chapter: chapter six
        Detected chapter: chapter seven
        Detected chapter: chapter eight
        Detected chapter: chapter nine
        Detected chapter: bonus chapter ten
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Cleaning up manifest...
Trimming unused files from manifest...
Trimming 'ops/images/logo1.jpg' from manifest
Creating TXT Output...
67% Running TXT Output plugin
Converting XHTML to TXT...
TXT output written to /run/media/lin/Pandrator/Outputs/bn/Fck_Feelings_One_Shrinks_Practical_Advice_for_Managing_All_Lifes.txt
Output saved to   /run/media/lin/Pandrator/Outputs/bn/Fck_Feelings_One_Shrinks_Practical_Advice_for_Managing_All_Lifes.txt
2024-06-16 10:11:11,738 - DEBUG - Starting new HTTP connection (1): localhost:8020
2024-06-16 10:11:11,740 - DEBUG - http://localhost:8020 "POST /set_speaker_folder HTTP/1.1" 200 75
Speaker folder set to: /run/media/lin/Pandrator/tts_voices
2024-06-16 10:11:11,741 - DEBUG - Starting new HTTP connection (1): localhost:8020
2024-06-16 10:11:11,742 - DEBUG - http://localhost:8020 "GET /docs HTTP/1.1" 200 939
2024-06-16 10:11:11,743 - DEBUG - Starting new HTTP connection (1): localhost:8020
2024-06-16 10:11:11,744 - DEBUG - http://localhost:8020 "GET /speakers_list HTTP/1.1" 200 28
2024-06-16 10:11:25,928 - DEBUG - Starting new HTTP connection (1): localhost:8020
2024-06-16 10:11:25,930 - DEBUG - http://localhost:8020 "GET /docs HTTP/1.1" 200 939

How to install the VoiceCraft API Server?

XTTS is an easy install with
pip install xtts-api-server
and then start the server with
python -m xtts_api_server

Silero is also an easy install with
pip install silero-api-server
and then run it with
python -m silero_api_server

VoiceCraft does not seem to be that simple? Do you have a set of steps to install and start the server ready for use with Pandrator? Thanks.

problem running pandrator_start_minimal_xtts.exe

I have a problem running the file pandrator_start_minimal_xtts.exe after installation in the installation file I have something like this:

2024-05-03 22:14:59,829 - INFO - Created Pandrator folder at C:\panda\Pandrator
2024-05-03 22:14:59,830 - INFO - Cloning repositories...
2024-05-03 22:15:02,371 - INFO - Installing Miniconda...
2024-05-03 22:15:37,771 - INFO - Creating conda environment xtts_api_server_installer...
2024-05-03 22:15:52,651 - INFO - Creating conda environment pandrator_installer...
2024-05-03 22:15:59,287 - INFO - Installing PyTorch and xtts_api_server package in xtts_api_server_installer...
2024-05-03 22:25:06,898 - ERROR - Error executing command: ['C:\panda\Pandrator\conda\Scripts\conda.exe', 'run', '-n', 'xtts_api_server_installer', 'pip', 'install', 'xtts_api_server']
2024-05-03 22:25:06,898 - ERROR - Error message: Command '['C:\panda\Pandrator\conda\Scripts\conda.exe', 'run', '-n', 'xtts_api_server_installer', 'pip', 'install', 'xtts_api_server']' returned non-zero exit status 1.
2024-05-03 22:25:44,289 - INFO - Pandrator folder exists. Skipping installation steps.
2024-05-03 22:25:44,289 - INFO - Running xtts_api_server in xtts_api_server_installer...
2024-05-03 22:25:44,298 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-03 22:25:46,342 - INFO - xtts server is not online. Waiting... (Attempt 1/30)
2024-05-03 22:25:56,344 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-03 22:25:58,387 - INFO - xtts server is not online. Waiting... (Attempt 2/30)
2024-05-03 22:26:08,388 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020

Other Language doesn't generate (zh-cn, ja)

I'm using the 0.0.7 version with xtts (installed through one click exe). English and some other languages seem to be doing fine. However, when I select another language (zh-cn & ja specifically) it doesn't generate.

There's nothing happening after pressing the Start generation button, and to confirm I clicked the cancel generation button after the start button it says that no process is happening (also went to task manager to double check, no CPU process).

youtube tutorial

Why don't you create a video on YouTube teaching step by step installation and use?

Cannot run on mac

While trying your app, when I'm selecting a text, here's the error message

python pandrator.py
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pydub/utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
  warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
pygame 2.5.2 (SDL 2.28.3, Python 3.12.3)
Hello from the pygame community. https://www.pygame.org/contribute.html
This plataform is not currently supported, check 'support.txt' file for
            information on how to run this class on other platforms.
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
*** First throw call stack:
(
	0   CoreFoundation                      0x000000018448e800 __exceptionPreprocess + 176
	1   libobjc.A.dylib                     0x0000000183f85eb4 objc_exception_throw + 60
	2   CoreFoundation                      0x00000001843ba834 -[__NSArrayM insertObject:atIndex:] + 1284
	3   libtk8.6.dylib                      0x000000010323b6d0 setAllowedFileTypes + 268
	4   libtk8.6.dylib                      0x000000010323c190 Tk_GetOpenFileObjCmd + 1316
	5   libtcl8.6.dylib                     0x00000001034a7bec Tcl_EvalObjv + 340
	6   _tkinter.cpython-312-darwin.so      0x0000000102f21c5c Tkapp_Call + 320
	7   Python                              0x0000000104052a30 cfunction_call + 108
	8   Python                              0x0000000103fe4d64 _PyObject_Call + 164
	9   Python                              0x000000010412ad24 _PyEval_EvalFrameDefault + 54472
	10  Python                              0x0000000103fe7e70 method_vectorcall + 180
	11  Python                              0x000000010412ad24 _PyEval_EvalFrameDefault + 54472
	12  Python                              0x0000000103fe7e70 method_vectorcall + 180
	13  _tkinter.cpython-312-darwin.so      0x0000000102f25284 PythonCmd + 196
	14  libtcl8.6.dylib                     0x00000001034a7bec Tcl_EvalObjv + 340
	15  libtcl8.6.dylib                     0x00000001034a9128 TclEvalEx + 2192
	16  libtk8.6.dylib                      0x000000010317ef98 Tk_BindEvent + 5808
	17  libtk8.6.dylib                      0x0000000103185990 TkBindEventProc + 336
	18  libtk8.6.dylib                      0x000000010318d6a4 Tk_HandleEvent + 832
	19  libtk8.6.dylib                      0x000000010318dc70 WindowEventProc + 112
	20  libtcl8.6.dylib                     0x000000010356032c Tcl_ServiceEvent + 180
	21  libtcl8.6.dylib                     0x0000000103560594 Tcl_DoOneEvent + 248
	22  _tkinter.cpython-312-darwin.so      0x0000000102f25c60 _tkinter_tkapp_mainloop_impl + 260
	23  Python                              0x0000000103ff4eb4 method_vectorcall_FASTCALL + 116
	24  Python                              0x0000000104128e9c _PyEval_EvalFrameDefault + 46656
	25  Python                              0x0000000103fe7f2c method_vectorcall + 368
	26  Python                              0x000000010412ad24 _PyEval_EvalFrameDefault + 54472
	27  Python                              0x000000010411d4c0 PyEval_EvalCode + 304
	28  Python                              0x000000010419d6ec run_mod + 176
	29  Python                              0x000000010419c77c pyrun_file + 148
	30  Python                              0x000000010419b6e0 _PyRun_SimpleFileObject + 304
	31  Python                              0x000000010419b350 _PyRun_AnyFileObject + 248
	32  Python                              0x00000001041c9878 pymain_run_file_obj + 220
	33  Python                              0x00000001041c95b8 pymain_run_file + 72
	34  Python                              0x00000001041c8cfc Py_RunMain + 1396
	35  Python                              0x00000001041c8e98 pymain_main + 40
	36  Python                              0x00000001041c9018 Py_BytesMain + 40
	37  dyld                                0x0000000183fc10e0 start + 2360
)
libc++abi: terminating due to uncaught exception of type NSException
[1]    2532 abort      /Library/Frameworks/Python.framework/Versions/3.12/bin/python3 pandrator.py

Does it mean that this app does not support mac ? Thank you

Silero being slow?

It took me like a while but I got Silero running via : pandrator_start_minimal_silero.py
I couldnt get xtts running, it kept running but not starting the server, and voicecraft was also extremly slow, taking over 12 hours for some reason for a 10 page document.
and it works fine, just going unresponsive each time I press start generation, but works after a few seconds.
But is taking about 30 mins for a 10 page document, with nothing running in the background but it.
Im running a core i7-9700 with 4.9ghz max, with 24gb of ddr4 3600mhz, with a rtx 3070.

Cannot run on Fedora 39 and python 3.12

Hi thanks for this awsome project i would dream of it

I cannot run the app because of this error

python3 -m venv panda_env
source panda_env/bin/activate.fish
python3 pandrator.py ⬢
pygame 2.5.2 (SDL 2.28.2, Python 3.12.2)
Hello from the pygame community. https://www.pygame.org/contribute.html
This plataform is not currently supported, check 'support.txt' file for
information on how to run this class on other platforms.
Traceback (most recent call last):
File "/var/home/yodatak/Projets/public/Pandrator/pandrator.py", line 2845, in
main()
^^^^^^
File "/var/home/yodatak/Projets/public/Pandrator/pandrator.py", line 2839, in main
root.iconbitmap("pandrator.ico")
File "/var/home/yodatak/Projets/public/Pandrator/panda_env/lib64/python3.12/site-packages/customtkinter/windows/ctk_tk.py", line 232, in iconbitmap
super().wm_iconbitmap(bitmap, default)
File "/usr/lib64/python3.12/tkinter/init.py", line 2155, in wm_iconbitmap
return self.tk.call('wm', 'iconbitmap', self._w, bitmap)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_tkinter.TclError: bitmap "pandrator.ico" not defined

Did i do something wrong ?

thanks again

Crashing on 'Start Generation'

Hi, I've tried this with both an XTTS and Silero API server and the issue is occurring with both of them, so I'm guessing it's something I'm doing wrong else. Basically I'm following the steps; creating a session, uploading a source, choose a TTS service and clicking on Start Generation, at which point the GUI will go 'Not Responding' and will need to be terminated. Here's the output from the terminals;

Pandrator:

C:\Users\Trism\Pandrator\Pandrator>python pandrator.py
pygame 2.5.2 (SDL 2.28.3, Python 3.12.4)
Hello from the pygame community. https://www.pygame.org/contribute.html
[nltk_data] Downloading package punkt to
[nltk_data]     C:\Users\Trism\AppData\Roaming\nltk_data...
[nltk_data]   Package punkt is already up-to-date!
on_language_selected method called
2024-06-23 15:41:11,894 - DEBUG - Starting new HTTP connection (1): localhost:8001
2024-06-23 15:41:14,712 - DEBUG - http://localhost:8001 "POST /tts/language HTTP/1.1" 200 0
2024-06-23 15:41:14,713 - DEBUG - Starting new HTTP connection (1): localhost:8001
2024-06-23 15:41:16,752 - DEBUG - http://localhost:8001 "GET /tts/speakers HTTP/1.1" 200 10976
2024-06-23 15:41:16,756 - DEBUG - Starting new HTTP connection (1): localhost:8001
2024-06-23 15:41:19,563 - DEBUG - http://localhost:8001 "POST /tts/language HTTP/1.1" 200 0
2024-06-23 15:41:20,572 - DEBUG - Starting new HTTP connection (1): localhost:8001
2024-06-23 15:41:22,587 - DEBUG - http://localhost:8001 "GET /tts/speakers HTTP/1.1" 200 10976
DeDRM v7.2.1: Trying to decrypt V.epub
DeDRM v7.2.1: Verifying zip archive integrity
DeDRM v7.2.1: “V.epub” is neither an Adobe Adept nor a Barnes & Noble encrypted ePub
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
  File "calibre\customize\ui.py", line 187, in _run_filetype_plugins
  File "calibre_plugins.dedrm.__init__", line 644, in run
  File "calibre_plugins.dedrm.__init__", line 420, in ePubDecrypt
calibre_plugins.dedrm.DeDRMError: DeDRM v7.2.1: Couldn't decrypt after 0.6 seconds. DRM free perhaps?
DeDRM v7.2.1: Trying to decrypt V.epub
DeDRM v7.2.1: Verifying zip archive integrity
DeDRM v7.2.1: “V.epub” is neither an Adobe Adept nor a Barnes & Noble encrypted ePub
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
  File "calibre\customize\ui.py", line 187, in _run_filetype_plugins
  File "calibre_plugins.dedrm.__init__", line 644, in run
  File "calibre_plugins.dedrm.__init__", line 420, in ePubDecrypt
calibre_plugins.dedrm.DeDRMError: DeDRM v7.2.1: Couldn't decrypt after 0.2 seconds. DRM free perhaps?
1% Converting input to HTML...
InputFormatPlugin: EPUB Input running
on C:\Users\Trism\Downloads\V.epub
Found HTML cover OEBPS/1-cover.xhtml
Parsing all content...
34% Running transforms on e-book...
Merging user specified metadata...
Detecting structure...

        [**All detected chapters**]

Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Cleaning up manifest...
Trimming unused files from manifest...
Trimming 'OEBPS/v2/logo2.jpg' from manifest
Trimming 'OEBPS/v1/logo2.jpg' from manifest
Trimming 'OEBPS/v3/logo.jpg' from manifest
Trimming 'OEBPS/v2/logo.jpg' from manifest
Trimming 'OEBPS/v3/ad.jpg' from manifest
Creating TXT Output...
67% Running TXT Output plugin
Converting XHTML to TXT...
TXT output written to C:\Users\Trism\Pandrator\Pandrator\Outputs\V\V.txt
Output saved to   C:\Users\Trism\Pandrator\Pandrator\Outputs\V\V.txt
2024-06-23 15:43:55,333 - DEBUG - Starting new HTTP connection (1): localhost:8001
2024-06-23 15:43:57,368 - DEBUG - http://localhost:8001 "GET /docs HTTP/1.1" 200 939

Silero server:

C:\Users\Trism\Pandrator\Silero TTS>python -m silero_api_server
C:\Users\Trism\scoop\apps\python\current\Lib\site-packages\silero_api_server\tts.py:26: UserWarning: torchaudio._backend.set_audio_backend has been deprecated. With dispatcher enabled, this function is no-op. You can remove the function call.
  torchaudio.set_audio_backend("soundfile")
2024-06-23 15:34:21.277 | INFO     | silero_api_server.tts:__init__:33 - TTS Service loaded successfully
2024-06-23 15:34:21.278 | INFO     | silero_api_server.tts:list_languages:149 - Loading remote language index
2024-06-23 15:34:28.790 | WARNING  | silero_api_server.tts:load_model:58 - Downloading Silero v3_en.pt model...
100%|█████████████████████████████████████████████████████████████████████████████| 54.5M/54.5M [00:19<00:00, 2.90MB/s]
2024-06-23 15:34:48.713 | INFO     | silero_api_server.tts:load_model:61 - Model download completed.
2024-06-23 15:34:49.409 | INFO     | silero_api_server.server:<module>:26 - Samples empty, generating new samples.
2024-06-23 15:34:49.410 | WARNING  | silero_api_server.tts:generate_samples:123 - Removing current samples
2024-06-23 15:34:49.410 | INFO     | silero_api_server.tts:generate_samples:127 - Creating new samples. This should take a minute...
Generated new voice
2024-06-23 15:37:07.622 | INFO     | silero_api_server.tts:generate_samples:134 - New samples created
INFO:     Started server process [22564]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:8001 (Press CTRL+C to quit)
INFO:     127.0.0.1:49459 - "POST /tts/language HTTP/1.1" 200 OK
INFO:     127.0.0.1:49463 - "GET /tts/speakers HTTP/1.1" 200 OK
INFO:     127.0.0.1:49469 - "POST /tts/language HTTP/1.1" 200 OK
INFO:     127.0.0.1:49478 - "GET /tts/speakers HTTP/1.1" 200 OK
INFO:     127.0.0.1:49738 - "GET /docs HTTP/1.1" 200 OK

Add synchronised audio to video file doesn't work for me.

I'm thrilled, it works really well! Add synchronised audio to video file doesn't work for me I don't know maybe it's the video codec? No audio file is extracted. And the dubbing from .srt subtitle files is very slow. For a 60min video it takes 3+ hours with XTTS. But still better than having to do it manually. Regards really great work.

Chocolatey is not installed

INFO - Chocolatey is not installed.
INFO - Installing Chocolatey...
INFO - Installing calibre...

I can't do anything,
What should I do?
Why?
Can't I just use exe?

deepL

Problem with special characters in the German alphabet.

Hello, first of all great project, thanks for it and your work. There is only one problem, if you want to generate something in German, no special characters / umlauts (äöü) are taken over in German.

Thank you very much.

installation issue

2024-06-14 02:14:44,029 - INFO - Checking if choco is installed...
2024-06-14 02:14:44,029 - INFO - choco is not installed
2024-06-14 02:14:44,029 - INFO - Chocolatey is not installed.
2024-06-14 02:14:44,029 - INFO - Installing Chocolatey...
2024-06-14 02:14:44,029 - INFO - Running command: powershell -Command Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
2024-06-14 02:14:57,551 - DEBUG - Command output: Forcing web requests to allow TLS v1.2 (Required for requests to Chocolatey.org)
Getting latest version of the Chocolatey package for download.
Not using proxy.
Getting Chocolatey from https://community.chocolatey.org/api/v2/package/chocolatey/2.3.0.
Downloading https://community.chocolatey.org/api/v2/package/chocolatey/2.3.0 to C:\Users\Lucky38\AppData\Local\Temp\chocolatey\chocoInstall\chocolatey.zip
Not using proxy.
Extracting C:\Users\Lucky38\AppData\Local\Temp\chocolatey\chocoInstall\chocolatey.zip to C:\Users\Lucky38\AppData\Local\Temp\chocolatey\chocoInstall
Installing Chocolatey on the local machine
Creating ChocolateyInstall as an environment variable (targeting 'Machine')
Setting ChocolateyInstall to 'C:\ProgramData\chocolatey'
WARNING: It's very likely you will need to close and reopen your shell
before you can use choco.
Restricting write permissions to Administrators
We are setting up the Chocolatey package repository.
The packages themselves go to 'C:\ProgramData\chocolatey\lib'
(i.e. C:\ProgramData\chocolatey\lib\yourPackageName).
A shim file for the command line goes to 'C:\ProgramData\chocolatey\bin'
and points to an executable in 'C:\ProgramData\chocolatey\lib\yourPackageName'.

Creating Chocolatey CLI folders if they do not already exist.

chocolatey.nupkg file not installed in lib.
Attempting to locate it from bootstrapper.
PATH environment variable does not have C:\ProgramData\chocolatey\bin in it. Adding...
WARNING: Not setting tab completion: Profile file does not exist at
'C:\Users\Lucky38\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1'.
Chocolatey CLI (choco.exe) is now ready.
You can call choco from anywhere, command line or powershell by typing choco.
Run choco /? for a list of functions.
You may need to shut down and restart powershell and/or consoles
first prior to using choco.
Ensuring Chocolatey commands are on the path
Ensuring chocolatey.nupkg is in the lib folder

2024-06-14 02:14:57,551 - INFO - Checking if git is installed...
2024-06-14 02:14:57,551 - INFO - git is installed
2024-06-14 02:14:57,551 - INFO - git is already installed.
2024-06-14 02:14:57,551 - INFO - Checking if curl is installed...
2024-06-14 02:14:57,551 - INFO - curl is installed
2024-06-14 02:14:57,551 - INFO - curl is already installed.
2024-06-14 02:14:57,551 - INFO - Checking if ffmpeg is installed...
2024-06-14 02:14:57,551 - INFO - ffmpeg is installed
2024-06-14 02:14:57,551 - INFO - ffmpeg is already installed.
2024-06-14 02:14:57,551 - INFO - Checking if calibre is installed...
2024-06-14 02:14:57,551 - INFO - calibre is not installed
2024-06-14 02:14:57,551 - INFO - Installing calibre...
2024-06-14 02:14:57,551 - INFO - Running command: choco install calibre -y
2024-06-14 02:14:57,551 - ERROR - An error occurred during execution: [WinError 2] The system cannot find the file specified
2024-06-14 02:14:57,551 - ERROR - Traceback (most recent call last):
File "pandrator_start_minimal_voicecraft.py", line 342, in
File "pandrator_start_minimal_voicecraft.py", line 258, in main
File "pandrator_start_minimal_voicecraft.py", line 102, in install_dependencies
File "pandrator_start_minimal_voicecraft.py", line 16, in run_command
File "subprocess.py", line 548, in run
File "subprocess.py", line 1026, in init
File "subprocess.py", line 1538, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified

Getting RVC to work

When I generate it runs and completes, but no sentences or audio is output.

Steps on how to get RVC working?
thanks,

Environment location not found

EnvironmentLocationNotFound: Not a conda environment: C:\Users\SayoPC.conda\envs\pandrator_installer

I can successfully install with the one click installer but when running I get this error. How can I fix it?

problem running pandrator_start_minimal_xtts.exe

Log:
2024-05-21 07:21:35,143 - INFO - PyTorch and xtts_api_server package installed successfully.
2024-05-21 07:21:35,143 - INFO - Installing requirements for pandrator_installer...
2024-05-21 07:22:22,357 - INFO - Running xtts_api_server in xtts_api_server_installer...
2024-05-21 07:22:22,388 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:22:24,429 - INFO - xtts server is not online. Waiting... (Attempt 1/30)
2024-05-21 07:22:34,434 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:22:36,446 - INFO - xtts server is not online. Waiting... (Attempt 2/30)
2024-05-21 07:22:46,449 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:22:48,472 - INFO - xtts server is not online. Waiting... (Attempt 3/30)
2024-05-21 07:22:58,475 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:23:00,509 - INFO - xtts server is not online. Waiting... (Attempt 4/30)
2024-05-21 07:23:10,511 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:23:12,555 - INFO - xtts server is not online. Waiting... (Attempt 5/30)
2024-05-21 07:23:22,559 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:23:24,595 - INFO - xtts server is not online. Waiting... (Attempt 6/30)
2024-05-21 07:23:34,599 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:23:36,624 - INFO - xtts server is not online. Waiting... (Attempt 7/30)
2024-05-21 07:23:46,628 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:23:48,675 - INFO - xtts server is not online. Waiting... (Attempt 8/30)
2024-05-21 07:23:58,678 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:24:00,709 - INFO - xtts server is not online. Waiting... (Attempt 9/30)
2024-05-21 07:24:10,711 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:24:12,754 - INFO - xtts server is not online. Waiting... (Attempt 10/30)
2024-05-21 07:24:22,758 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:24:24,804 - INFO - xtts server is not online. Waiting... (Attempt 11/30)
2024-05-21 07:24:34,807 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:24:36,863 - INFO - xtts server is not online. Waiting... (Attempt 12/30)
2024-05-21 07:24:46,866 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:24:48,920 - INFO - xtts server is not online. Waiting... (Attempt 13/30)
2024-05-21 07:24:58,924 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:25:00,947 - INFO - xtts server is not online. Waiting... (Attempt 14/30)
2024-05-21 07:25:10,949 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:25:12,977 - INFO - xtts server is not online. Waiting... (Attempt 15/30)
2024-05-21 07:25:22,981 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:25:25,010 - INFO - xtts server is not online. Waiting... (Attempt 16/30)
2024-05-21 07:25:35,013 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:25:37,037 - INFO - xtts server is not online. Waiting... (Attempt 17/30)
2024-05-21 07:25:47,040 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:25:49,080 - INFO - xtts server is not online. Waiting... (Attempt 18/30)
2024-05-21 07:25:59,083 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:26:01,126 - INFO - xtts server is not online. Waiting... (Attempt 19/30)
2024-05-21 07:26:11,128 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:26:13,169 - INFO - xtts server is not online. Waiting... (Attempt 20/30)
2024-05-21 07:26:23,171 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:26:25,181 - INFO - xtts server is not online. Waiting... (Attempt 21/30)
2024-05-21 07:26:35,183 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:26:37,219 - INFO - xtts server is not online. Waiting... (Attempt 22/30)
2024-05-21 07:26:47,221 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:26:49,257 - INFO - xtts server is not online. Waiting... (Attempt 23/30)
2024-05-21 07:26:59,260 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:27:01,296 - INFO - xtts server is not online. Waiting... (Attempt 24/30)
2024-05-21 07:27:11,298 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:27:13,339 - INFO - xtts server is not online. Waiting... (Attempt 25/30)
2024-05-21 07:27:23,341 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:27:25,386 - INFO - xtts server is not online. Waiting... (Attempt 26/30)
2024-05-21 07:27:35,389 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:27:37,407 - INFO - xtts server is not online. Waiting... (Attempt 27/30)
2024-05-21 07:27:47,410 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:27:49,458 - INFO - xtts server is not online. Waiting... (Attempt 28/30)
2024-05-21 07:27:59,460 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:28:01,485 - INFO - xtts server is not online. Waiting... (Attempt 29/30)
2024-05-21 07:28:11,488 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8020
2024-05-21 07:28:13,529 - INFO - xtts server is not online. Waiting... (Attempt 30/30)
2024-05-21 07:28:23,531 - ERROR - xtts server failed to come online within the specified attempts.
2024-05-21 07:28:23,531 - ERROR - xtts server failed to come online. Exiting...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.