1-Click INSTALL LivePortrait WebUI!
Added 2024-07-14 16:27:45 +0000 UTC
5 August UDPATE: The installation has changed, it's much easier now. Just download the NEW-LIVEPORTRAIT_AUTO_INSTALL-V2.bat, run it, wait for everything to be extracted and then run either the run_windows_human.bat or the run_windows_animal.bat file. Nothing changes for the runpod install.
21st July UPDATE: LIVEPORTRAIT JUST RELEASED THE LONG AWAITED VIDEO TO VIDEO UPDATE, making video deepfakes from videos super easy, check out my update video here: https://youtu.be/qD-RbYoSi74
Do not forget to put the updater.bat file inside the folder and to run it if you already installed LivePortrait before.
Hey everyone! I've created a 1-click installer for the newest AI tool called "LivePortrait " that allows you to generate any Deepfake Portrait from just a video and image source with unparalleled quality! This tool will change the industry once again!
Watch the video right here: https://youtu.be/dl6XaGewYAc
The installer of course automates the entire install process for the tool!
Here's how it works:
LOCAL INSTALL:
1. Download the NEW-LIVEPORTRAIT_AUTO_INSTALL-V2.bat
2. Create a new folder on your computer and place the file inside
3. Launch the NEW-LIVEPORTRAIT_AUTO_INSTALL-V2.bat file to begin the install
4.????
6. Profit 😎
Go inside the folder and then run either the run_windows_human.bat or the run_windows_animal.bat file to begin using LivePortrait!😉
IF YOU ARE USING RUNPOD:
1. Create an account if you haven't already: Runpod
2. Click on Pod (on the left side) then click deploy
3. Choose a GPU with at least 24gb of VRAM (a cheap 3090 is great), choose the Pytorch 2.1 template, then deploy on demand
4. Go to my pods, wait for everything to finish and then click "connect", then "Connect to Jupyter Lab"
5. Drag and drop the LIVEPORTRAIT_AUTO_INSTALL-RUNPOD.sh on the left side of the UI then click on the "Terminal" icon on the right side on the UI
6. Copy and paste these two lines then press enter:
chmod +x LIVEPORTRAIT_AUTO_INSTALL-RUNPOD.sh
./LIVEPORTRAIT_AUTO_INSTALL-RUNPOD.sh
7. Wait for everything to be installed
8. Click on the public URL to start Using LivePortrait😉!
As always, supporting me on Patreon allows me to keep creating helpful resources like this for the community. Thank you for your support - now go have some fun😉!
That worked, thank you!
Robbieddanger
2024-12-01 20:45:14 +0000 UTC
you got some ssl certification check issue, try this installer: https://we.tl/t-kQPgN7yF9m
Aitrepreneur
2024-12-01 16:58:42 +0000 UTC
I downloaded the install file and moved it into a new folder before attempting to install. When I attempt to install I see the following error. https://ibb.co/1q2Dm9N
Robbieddanger
2024-12-01 01:24:23 +0000 UTC
It's a wonderful talking faces engine! But I don't understand how to get a bigger resolution... I've tried with bigger source image, or bigger train video but nothing... Is there a parameter to get more res? Thanks!
Mauro Prelli
2024-10-31 10:29:46 +0000 UTC
Also having a bit of trouble with the installation, Starts install then nothing.
Casey Dillistone
2024-09-26 03:46:33 +0000 UTC
Got it Nvidia is the only way to go. I want the livePortrait to work on my computer and also want to do TTS and Flux. Also saw the animate ai to make the inbetweeners. That is something i'd like to work with. With this in mind what card would be best for me to choose 4090 isn't in my budget. so it would be 3090 ti (24g) or 4070/4080 super(16g). What would you advise. Thanks in advance for your time and precious advice.
EyezOnYou
2024-09-19 07:19:53 +0000 UTC
Never get an AMD. JUST NEVER. Most ai tools only work with Nvidia GPUs. No so it's not even a question, get Nvidia, always.
Aitrepreneur
2024-09-18 19:47:33 +0000 UTC
I have to get a new GPU to have fun with thes ai stuff. SO I was wondering if it also works on AMD? Pricewise its a way more afordable GPU as Nvidea
EyezOnYou
2024-09-18 11:47:13 +0000 UTC
You probably launched the installer as admin so it installed in system32, just run the installer normally, not as admin
Aitrepreneur
2024-09-15 22:35:51 +0000 UTC
Yoooo, just used the V2 install. Everything seems to have installed correctly but there's not a bat file to launch the web ui. I'm a total noob, can ya help me out?
Eric B
2024-09-14 20:05:12 +0000 UTC
I was trying to run the installer from another drive than C: and it failed.
So I decided to run it from a file in C:\Users and the installation was successful !! Awesome work !! Thanks for the installer :)
ElecMat
2024-09-12 03:53:28 +0000 UTC
I tried the installer and I got this error message...
************
Activating the LivePortrait environment...
Activation failed. Displaying the error message:
The system cannot find the path specified.
Press any key to exit...
ElecMat
2024-09-12 03:31:39 +0000 UTC
Much appreciated and thank you for bearing with my ignorance.
Christopher Moonlight Productions
2024-08-18 19:52:49 +0000 UTC
For the next installers I will add this option anyway so it won't be an issue in the future
Aitrepreneur
2024-08-18 19:27:57 +0000 UTC
I'm not that knowledgeable to understand this stuff so I just keep my fingers crossed when I try this stuff. I figure if it works then I don't have to bother you with every little thing. lol.
Christopher Moonlight Productions
2024-08-18 19:23:50 +0000 UTC
as I said previously for your computer, you have some security issue and the curl command is what triggers it, the reason why it worked here is because it just added the -k option in the curl command, that's it, no need to rewrite anything. Adding --ssl-no-revoke to the curl command works as well
Aitrepreneur
2024-08-18 18:58:40 +0000 UTC
Due to my computer being weird (I think) I had to have ChatCPT rewrite the bat based on the error messages I was getting. Here is what it gave me that got it to work.
@echo off
setlocal enabledelayedexpansion
REM Check if 7-Zip is installed and get its path
for %%I in (7z.exe) do set "SEVEN_ZIP_PATH=%%~$PATH:I"
if not defined SEVEN_ZIP_PATH (
if exist "%ProgramFiles%\7-Zip\7z.exe" (
set "SEVEN_ZIP_PATH=%ProgramFiles%\7-Zip\7z.exe"
) else if exist "%ProgramFiles(x86)%\7-Zip\7z.exe" (
set "SEVEN_ZIP_PATH=%ProgramFiles(x86)%\7-Zip\7z.exe"
) else (
echo 7-Zip is not installed. Downloading and installing...
curl -k -L -o 7z-installer.exe https://www.7-zip.org/a/7z2301-x64.exe
7z-installer.exe /S
set "SEVEN_ZIP_PATH=%ProgramFiles%\7-Zip\7z.exe"
if not exist "%SEVEN_ZIP_PATH%" (
echo Installation of 7-Zip failed. Please install it manually and try again.
exit /b 1
)
del 7z-installer.exe
)
)
REM Check if curl is available
where curl >nul 2>&1
if errorlevel 1 (
echo curl is not installed or not available in PATH. Please install curl and try again.
exit /b 1
)
REM Downloading LivePortrait
echo Downloading LivePortrait...
curl -k -L -o LivePortrait.7z https://huggingface.co/Aitrepreneur/LivePortrait/resolve/main/LivePortrait.7z?download=true
REM Check if the download was successful
if not exist "LivePortrait.7z" (
echo Download failed. Please check the URL or your internet connection and try again.
exit /b 1
)
REM Extract LivePortrait
echo Extracting LivePortrait...
"%SEVEN_ZIP_PATH%" x LivePortrait.7z -o"%CD%" -y
REM Check if extraction was successful
if not exist "%CD%\LivePortrait" (
echo Extraction failed. Please check the downloaded file and try again.
exit /b 1
)
echo INSTALLATION WAS SUCCESSFUL. GO INSIDE THE FOLDER AND RUN EITHER THE run_windows_human.bat or the run_windows_animal.bat file. HAVE FUN!
pause
Christopher Moonlight Productions
2024-08-18 17:30:03 +0000 UTC
Thank you sooooo much! It worked! <3
Searon Slad
2024-08-16 14:11:05 +0000 UTC
make sure you don't have any antivirus or VPN running that might block the download of the file, this seems like a connection issue
Aitrepreneur
2024-08-16 09:29:22 +0000 UTC
When launching the install it stops immediately: "Impossible to find the file LivePortrait.7z"
Searon Slad
2024-08-15 19:08:41 +0000 UTC
I figured it out. I had a "&" in one of the parent folders that Live Portrait was installed into. I renamed the parent fold and that fixed it. Works amazing.
joh sar
2024-08-13 19:05:28 +0000 UTC
No, it says the configuration was successful. Do you have the old installer online? I can't find the link.
joh sar
2024-08-13 14:15:13 +0000 UTC
any error during install?
Aitrepreneur
2024-08-12 21:12:51 +0000 UTC
I get this error when I try to start LivePortait: Activating the LivePortrait environment...
Activation failed. Displaying the error message:
The system cannot find the path specified.
Press any key to exit...
joh sar
2024-08-12 20:21:34 +0000 UTC
problem solve on reinstall
Steven Nicholson
2024-08-12 12:35:59 +0000 UTC
cant open the file. its comes up with an error message "unexpected out of data". any ideas?
Steven Nicholson
2024-08-12 11:48:51 +0000 UTC
I get this error when I try to start LivePortait: Activating the LivePortrait environment...
Activation failed. Displaying the error message:
The system cannot find the path specified.
Press any key to exit...
joh sar
2024-08-11 23:44:23 +0000 UTC
install work perfectly, it happens instantly after I launch. I reinstalled python and updated everything. I traing installing it several times same problem. thanks!
makennos
2024-08-10 06:51:46 +0000 UTC
install work perfectly, it happens instantly after I launch. I reinstalled python and updated everything. I traing installing it several times same problem. thanks!
makennos
2024-08-10 06:51:31 +0000 UTC
When does that error happens? Any issues during install?
Aitrepreneur
2024-08-09 18:02:44 +0000 UTC
yes
makennos
2024-08-09 17:27:00 +0000 UTC
are you using the latest V2 installer?
Aitrepreneur
2024-08-09 12:56:51 +0000 UTC
I am gettings this anybody knows how to solve: Activating the LivePortrait environment...
Environment activated successfully.
Starting the server...
Waiting for the server to start...
Traceback (most recent call last):
File "C:\live portrait\LivePortrait\app_animals.py", line 8, in
import tyro
File "C:\live portrait\LivePortrait\LivePortrait_env\lib\site-packages\tyro\__init__.py", line 3, in
from . import conf as conf
File "C:\live portrait\LivePortrait\LivePortrait_env\lib\site-packages\tyro\conf\__init__.py", line 11, in
from ._confstruct import arg as arg
File "C:\live portrait\LivePortrait\LivePortrait_env\lib\site-packages\tyro\conf\_confstruct.py", line 4, in
from .._fields import MISSING_NONPROP
File "C:\live portrait\LivePortrait\LivePortrait_env\lib\site-packages\tyro\_fields.py", line 45, in
from . import (
File "C:\live portrait\LivePortrait\LivePortrait_env\lib\site-packages\tyro\_docstrings.py", line 15, in
from . import _resolver, _strings, _unsafe_cache
File "C:\live portrait\LivePortrait\LivePortrait_env\lib\site-packages\tyro\_resolver.py", line 26, in
from typing_extensions import (
ImportError: cannot import name 'ForwardRef' from 'typing_extensions' (C:\Users\salo\AppData\Roaming\Python\Python39\site-packages\typing_extensions.py)
makennos
2024-08-08 18:01:00 +0000 UTC
Yup just checked the repo was updated, here's the new installer, much easier to use:
https://we.tl/t-sqBNxoa7aw
just run it, wait for everything to be extracted then run either the run_windows_human.bat or the run_windows_animal.bat file
Aitrepreneur
2024-08-05 15:28:09 +0000 UTC
Yup just checked the repo was updated, here's the new installer, much easier to use:
https://we.tl/t-sqBNxoa7aw
just run it, wait for everything to be extracted then run either the run_windows_human.bat or the run_windows_animal.bat file
Aitrepreneur
2024-08-05 15:28:01 +0000 UTC
Yup just checked the repo was updated, here's the new installer, much easier to use:
https://we.tl/t-sqBNxoa7aw
just run it, wait for everything to be extracted then run either the run_windows_human.bat or the run_windows_animal.bat file
Aitrepreneur
2024-08-05 15:27:54 +0000 UTC
Win11: Getting 'Exception: Building py-lmdb from source on Windows requires the "patch-ng" python module. - from the requirements.txt
I stepped through the bat file manually. Manually installed them, still not recognizing?
(env) D:\AI\VIDEO\LivePortrait\LivePortrait>pip install -r requirements.txt
Collecting torch==2.3.0 (from -r requirements_base.txt (line 1))
Using cached torch-2.3.0-cp312-cp312-win_amd64.whl.metadata (26 kB)
Collecting torchvision==0.18.0 (from -r requirements_base.txt (line 2))
Using cached torchvision-0.18.0-cp312-cp312-win_amd64.whl.metadata (6.6 kB)
Collecting torchaudio==2.3.0 (from -r requirements_base.txt (line 3))
Using cached torchaudio-2.3.0-cp312-cp312-win_amd64.whl.metadata (6.4 kB)
Collecting numpy==1.26.4 (from -r requirements_base.txt (line 4))
Using cached numpy-1.26.4-cp312-cp312-win_amd64.whl.metadata (61 kB)
Collecting pyyaml==6.0.1 (from -r requirements_base.txt (line 5))
Using cached PyYAML-6.0.1-cp312-cp312-win_amd64.whl.metadata (2.1 kB)
Collecting opencv-python==4.10.0.84 (from -r requirements_base.txt (line 6))
Using cached opencv_python-4.10.0.84-cp37-abi3-win_amd64.whl.metadata (20 kB)
Collecting scipy==1.13.1 (from -r requirements_base.txt (line 7))
Using cached scipy-1.13.1-cp312-cp312-win_amd64.whl.metadata (60 kB)
Collecting imageio==2.34.2 (from -r requirements_base.txt (line 8))
Using cached imageio-2.34.2-py3-none-any.whl.metadata (4.9 kB)
Collecting lmdb==1.4.1 (from -r requirements_base.txt (line 9))
Using cached lmdb-1.4.1.tar.gz (881 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [27 lines of output]
py-lmdb: Using bundled liblmdb with py-lmdb patches; override with LMDB_FORCE_SYSTEM=1 or LMDB_PURE=1.
Traceback (most recent call last):
File "", line 92, in
ModuleNotFoundError: No module named 'patch_ng'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\AI\VIDEO\LivePortrait\LivePortrait\env\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in
main()
File "D:\AI\VIDEO\LivePortrait\LivePortrait\env\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\AI\VIDEO\LivePortrait\LivePortrait\env\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jimgale\AppData\Local\Temp\pip-build-env-oqz1ph_5\overlay\Lib\site-packages\setuptools\build_meta.py", line 327, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jimgale\AppData\Local\Temp\pip-build-env-oqz1ph_5\overlay\Lib\site-packages\setuptools\build_meta.py", line 297, in _get_build_requires
self.run_setup()
File "C:\Users\jimgale\AppData\Local\Temp\pip-build-env-oqz1ph_5\overlay\Lib\site-packages\setuptools\build_meta.py", line 497, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\jimgale\AppData\Local\Temp\pip-build-env-oqz1ph_5\overlay\Lib\site-packages\setuptools\build_meta.py", line 313, in run_setup
exec(code, locals())
File "", line 94, in
Exception: Building py-lmdb from source on Windows requires the "patch-ng" python module.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
[notice] A new release of pip is available: 24.0 -> 24.2
[notice] To update, run: python.exe -m pip install --upgrade pip
(env) D:\AI\VIDEO\LivePortrait\LivePortrait>pip install patch-ng
Requirement already satisfied: patch-ng in d:\ai\video\liveportrait\liveportrait\env\lib\site-packages (1.18.0)
Jim Gale
2024-08-05 00:48:29 +0000 UTC
Hello im also getting this error when installing with the One-Click AssertionError: Torch not compiled with CUDA enabled
Ramon
2024-08-04 22:23:46 +0000 UTC
Already tried that earlier. tried again now. Got the same error. The window just flashes for a sec showing the error and then disappears.
Coup1
2024-08-04 22:10:41 +0000 UTC
This could also be a bad initial python install, you need to uninstall any of your current python installations and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe
Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation.
You can check that the right python version is installed by opening a new command prompt window and typing:
python --version
and it should give you the 3.10.11 version
Then just relaunch the 1-click installer in a new folder and try again.
Aitrepreneur
2024-08-04 21:16:32 +0000 UTC
NVIDIA GeForce RTX 2080 SUPER :,(
Coup1
2024-08-04 20:56:03 +0000 UTC
what's your GPU?
Aitrepreneur
2024-08-04 19:03:36 +0000 UTC
I keep getting this error when I try to run liveportrait and then the cmd window closes and nothing more happens.
"F:\Liveport\Liveportrait\env\lib\sitepackages\torch\cuda\_init_.py", line 284, in -lazy-init AssertionError:Torch not compiled with CUDA enabled"
but Torch is compiled with CUDA enabled :0 >>>print(torch.cuda.is_available()) True >>>
Coup1
2024-08-04 18:31:50 +0000 UTC
No they are probably using a tool like viggle ai or something similar
Aitrepreneur
2024-08-04 13:32:32 +0000 UTC
Hello I recently came across a flood of dancing cute animals like this https://pin.it/UuDWaZ0AE. Are they using this tool? Or how is it done? Thx
Tomas Rampas
2024-08-04 08:58:43 +0000 UTC
Ahhh, my C drive was simply full, the problem is whe n I double clicked the installer it just clsoed (I was asfk), I didnt get a no space available message. I think it will work now. crossing my fingers.
Mohamed Owda
2024-08-01 00:03:06 +0000 UTC
Any errors during install? Try opening a command prompt window and drag and drop the lancher file inside the window, then press enter, this should avoid the window from closing and it will at least give us an error code we can use to troubleshoot the error, make also sure that you have disabled any antivirus/firewall from running and blocking the file/connection.
Aitrepreneur
2024-07-31 23:40:20 +0000 UTC
so I did run the installer without run as admin and it installed this time in :
D:\Live Portrait\LivePortrait
and i placed the: LIVEPORTRAIT_LAUNCHER.bat in that directory.
when I double click it I get the command prompt open and immediately close
is my nvidia 3090 too weak for this or what?
Mohamed Owda
2024-07-31 23:04:58 +0000 UTC
will do, thanks a bunch!
Mohamed Owda
2024-07-31 22:51:08 +0000 UTC
Yes, just launch it normally in a new folder and delete the previous one
Aitrepreneur
2024-07-31 22:50:25 +0000 UTC
ahh I see, so what do I do now? should I delete it and click the isntaller normally? it doesnt work for me.
Mohamed Owda
2024-07-31 22:44:00 +0000 UTC
It's because you ran the installer as admin, do not do that, run the installer normally
Aitrepreneur
2024-07-31 22:42:38 +0000 UTC
hello, I ran the one click installer and went afk
I searched where it was isntalled (surprised it wasnt the dwonload folder)
I found : C:\Windows\System32\LivePortrait
so I placed LIVEPORTRAIT_LAUNCHER.bat in:
C:\Windows\System32\LivePortrait
but when I double click nothing happens
Mohamed Owda
2024-07-31 22:30:18 +0000 UTC
I've tried alternatives, believe me they are all absolutely terrible, uses an insane amount of vram and takes 10mins to produce a few seconds of video....I do not recommend any of them, at least for now
Aitrepreneur
2024-07-26 20:49:49 +0000 UTC
Is there an alternative to heygen? Local. So that you can upload audio and a picture and the avatar can talk.
Олег Каргин
2024-07-26 14:07:25 +0000 UTC
in the terminal just press
ctrl c (same command if you want to copy a text)
it will then stop running,
then go inside the folder, click on terminal again so that you are sure to be inside that folder, then type:
python app.py --share
then press enter. It will restart the webui
Aitrepreneur
2024-07-25 19:59:18 +0000 UTC
Is there a way to restart it, the gradio crashed, is there a script that would restart it? I am using runpod
Emilien-Edmond D'aramitz
2024-07-25 05:41:14 +0000 UTC
if you already have VC installed just click no when it asks you to pursue its installation
Aitrepreneur
2024-07-24 15:57:11 +0000 UTC
I'm getting stalled out at the installation of Visual C++ which I know is already on my system. It hangs about halfway through, times out, reattempts, times out, etc.
Any ideas?
Bob Doyle - VR Films
2024-07-24 11:54:48 +0000 UTC
Update still doing it, seems to be something with the live_portrait_wrapper.py:300:
Jon Smith
2024-07-23 14:57:59 +0000 UTC
aaaah the infamous 1660 that causes issues with many AI tools...should have known 😅
ok so you need to go to
LivePortrait\src\config folder and edit the inference_config.py file (with notepad++ or something similar)
on line 25 you will see: flag_use_half_precision: bool = True
change the True to False so that it looks like this:
flag_use_half_precision: bool = False
then save the file and relanch the webui
Aitrepreneur
2024-07-23 14:49:01 +0000 UTC
1660 super
Jon Smith
2024-07-23 14:40:01 +0000 UTC
Usually the issue is that people either have the incorrect python version installed AND/OR not added to path and even if it is, it's best practice to put the two python folder path at the top of the list in the env variables
Aitrepreneur
2024-07-23 14:35:50 +0000 UTC
what's your GPU?
Aitrepreneur
2024-07-23 14:33:31 +0000 UTC
It appears as though Windows creates a program 'alias' for the Python executables, and disabling those 'aliases' will allow the command prompt to see python.exe instead of 'alias'. Just more corporate adulteration.
Trenoshi
2024-07-23 07:02:31 +0000 UTC
For those experiencing Python issues, here is a solution that worked for me: https://stackoverflow.com/questions/47539201/the-python-executable-is-not-recognized-on-windows-10
Trenoshi
2024-07-23 06:55:41 +0000 UTC
Keep getting this error and black images RuntimeWarning: invalid value encountered in cast out = np.clip(out * 255, 0, 255).astype(np.uint8) # 0~1 -> 0~255 no idea what this means or what im supposed to do about it
Jon Smith
2024-07-23 00:06:34 +0000 UTC
huh weird, without the error log difficult to say, at least it ended up working 🤷♂️
Aitrepreneur
2024-07-21 22:35:23 +0000 UTC
Yes I will once we have something good
Aitrepreneur
2024-07-21 22:34:48 +0000 UTC
@John Ross, Lmao wtf you're that much of a noob that you can't run the one click installer? Hell I'll go a step further & say someone with your temperament shouldn't have access to AI, lord only knows what you're going to do with it.
ZaNIX Ultra
2024-07-21 20:31:18 +0000 UTC
I also had it crash on install. I tried following the lines from the bat file, installed some pytheon, dind't really work. But it later suddenly worked. Maybe something with python env, but I don't know.
Michael Moser
2024-07-21 17:04:00 +0000 UTC
Please make videos on locally-run generative video options.
John
2024-07-21 16:40:06 +0000 UTC
I got it to work using RunPod. Thanks again!
Travis
2024-07-21 00:34:33 +0000 UTC
Thank for the quick response - I'll try this later today and report back. Thanks for all of your hard work.
Travis
2024-07-19 15:51:51 +0000 UTC
not a question of system requirements, it's usually a python issue like a bad python install, you need to uninstall any of your current python installations and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe
Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation.
You can check that the right python version is installed by opening a new command prompt window and typing:
python --version
and it should give you the 3.10.11 version
Then just relaunch the 1-click installer in a new folder and try again
Aitrepreneur
2024-07-19 15:50:13 +0000 UTC
could a multitude of reasons, first open a command prompt window and drag and drop the installer file inside the window, then press enter, this should avoid the window from closing and it will at least give us an error code we can use to troubleshoot the error, make also sure that you have disabled any antivirus/firewall from running and blocking the file/connection.
This could also be a bad initial python install, you need to uninstall any of your current python installations and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe
Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation.
You can check that the right python version is installed by opening a new command prompt window and typing:
python --version
and it should give you the 3.10.11 version
Then just relaunch the 1-click installer in a new folder and try again
Aitrepreneur
2024-07-19 15:49:30 +0000 UTC
Can you post a list of system requirements for these "1 Click Install" posts please? I tried in the past and they crash.
Travis
2024-07-19 14:22:06 +0000 UTC
it didnt work, my installation always crashes and didnt finish..
konstantin sichart
2024-07-19 08:22:10 +0000 UTC
Oh then yeah that explain everything, just close the installer, you don't need to edit anything, it should automatically give you a public url when running the launcher (put the launcher inside the folder), like this:
https://imgur.com/a/a3b234c
Aitrepreneur
2024-07-18 10:39:43 +0000 UTC
Thanks for that. My problem is that I get this information from the installer (which I haven't closed since it ran) "To create a public link, set `share=True` in `launch()`." All it gives me by default is the local URL, so I have to edit 'launch' with that info.
I'm assuming it is the LIVEPORTRAIT_LAUNCHER.bat file that I need to edit? My problem is when I try to run that file, it just flashes a cmd window that says it can't find the app.py in the directory I created. All of the other files you gave me are there, but it doesn't look like it installed there.
Thanks for your help!
Anthony Marc
2024-07-18 03:02:05 +0000 UTC
I moved the bat file to the desktop, and now it's working. Thanks for your help, man, in the DM!
Essence Cartoon
2024-07-17 21:38:05 +0000 UTC
good to know... you are the pro ;-) thanx for your fast reply... <3
Marc
2024-07-17 18:27:25 +0000 UTC
yup I know it, this was one of the other tool similar to liveportrait that I tested before doing the video, and it was terrible...my god...it takes like 20gb of vram to run and takes like 10 mins to generate a video from a 10s audio clip and the results are just terrible...
When there is a better option than liveportrait, you'll know
Aitrepreneur
2024-07-17 15:34:34 +0000 UTC
ohh okay - i see :-) Do you know https://github.com/fudan-generative-vision/hallo ??
Marc
2024-07-17 14:34:01 +0000 UTC
yes, when you launch it, you got the local and public url, just use the public url and let it run on your machine.
Aitrepreneur
2024-07-17 13:32:19 +0000 UTC
Try this:
click on the folder path, type cmd and inside type:
env\Scripts\activate press enter
pip install tyro==0.8.5 press enter
then you can relaunch the launcher
Aitrepreneur
2024-07-17 13:31:22 +0000 UTC
Is there a URL it provides so I can access it from another machine like you can with Oobabooga? I have so much fun playing with the version hosted on HuggingFace, but it has a cool down after like 220 seconds or something and I want to play with this a whole lot more while I'm away from my machine at home.
Anthony Marc
2024-07-17 13:09:11 +0000 UTC
ignorance is not a tech support issue, my man. When you find out what the problem is, I really hope you come back and apologize. I've had this issue before too and it is easy to fix and you are going to be really embarrassed when you find out what it is.
For the record, this is working just fine for me. I followed the instructions and it worked like a charm. The first one doesn't take long, but the second one can take an hour depending on how fast your connection is, but as long as you have python and the required software installed, it works maybe not in 1 click, but definitely in 2.
Anthony Marc
2024-07-17 13:06:13 +0000 UTC
HI. I tried to solve the same issue typing:
env\Scripts\activate press enter
python app.py press enter
But I got this error:
Traceback (most recent call last):
File "D:\damian2024\LivePortrait WebUI (Aientrepreneur)\LivePortrait\app.py", line 7, in
import tyro
ModuleNotFoundError: No module named 'tyro'
Any idea? Thanks!
Demm9k
2024-07-17 04:37:32 +0000 UTC
Well, I was using 3.10.6. The forge installation guide told me to use that. (it was when forge was first released) I'll try 3.10.11 hopefully that works since nothing else does at the moment.
Michael Smart
2024-07-16 22:28:42 +0000 UTC
It didn't work
Essence Cartoon
2024-07-16 18:17:15 +0000 UTC
I've heard of it months ago but liveportrait is literally the same, except it works muuuuch better and uses less ressources. Also the aniportrait repo looks dead and hasn't been updated in months...
Aitrepreneur
2024-07-16 18:04:15 +0000 UTC
it's most probably an initial bad python install that you had, try to uninstall every python versions you got are replace it with the 3.10.11 (without forgetting to check the "add to path" checkbox when reinstalling)
Aitrepreneur
2024-07-16 18:00:42 +0000 UTC
Hi... you know this? Maybe i could be your next conent? :-D https://github.com/Zejun-Yang/AniPortrait
Marc
2024-07-16 11:09:36 +0000 UTC
i had previously had an error where I had to roll back pip (I think it was pip) because Forge wouldn't start. Now since i tried to install this forge wont start again lol. Ughh it probably updated something now i'm getting the "ModuleNotFoundError: No module named 'tqdm.auto'
Press any key to continue . . ." message again. It wont even start using the Run.bat file like it used to. EDIT: I'm trying to delete my VenV folder and see see if a fresh one will fix it. If it doesn't work I'll have to mess with it after work tomorrow.
Michael Smart
2024-07-16 02:09:33 +0000 UTC
The errors I received while installing were the all related to pip being outdated such as "pip error download blah blab https://download.pytorch.org/whl/cu118" and "[notice] A new release of pip available: 22.2.1 -> 24.1.2
[notice] To update, run: python.exe -m pip install --upgrade pip"
Michael Smart
2024-07-16 02:07:28 +0000 UTC
weird.....seen any error during install? have you tried the given photo and video examples below to see if at least the examples work correctly?
Aitrepreneur
2024-07-15 21:40:02 +0000 UTC
I have the same issue, but even when i do get it to run it doesn't work. I use a photo and one of the sample videos and it produces the sample video wit the background widened, in that space it adds a crop of the static photo face next to it. As Feindbold said, I too probably have multiple python version installed but have never been able to completly get 3.11 to go away or uninstall.
Michael Smart
2024-07-15 20:33:07 +0000 UTC
I had the same issue, turned out I had Python 3.10.6 and 3.11 installed. After uninstalling both and installing Python 3.10.11 the launcher worked after a new install of the ui.
Feindbold
2024-07-15 18:38:19 +0000 UTC
Launcher works, just tried it on multiple computers, nothing changed...what happens when you drag and drop the launcher into a new command prompt window (after you put it inside the folder)
You can also check if the install was done correctly by clicking on the folder path, typing cmd and inside type:
env\Scripts\activate press enter
python app.py press enter
no need to reinstall it each time to launch it
Aitrepreneur
2024-07-15 07:53:24 +0000 UTC
hey hey hey, what's going on here? Can you chill? You send god knows how many angry messages in the last few minutes?
I see you've been a patreon for months yet you never reached out for help when you had an issue? How am I supposed to help you if you don't reach out to me?
DM me what the issue is and bonus point I'll even refund your money if you are really not happy, no need to bring this kind of attitude here man
Aitrepreneur
2024-07-15 07:50:23 +0000 UTC
hmm weird, try this installer instead : https://we.tl/t-h2OuNW5PR4
let me know if you see an error message pop up
Aitrepreneur
2024-07-15 07:47:55 +0000 UTC
yeah runpod is really practical, they apparently even reduced their prices a few days ago so win-win
Aitrepreneur
2024-07-15 07:45:06 +0000 UTC
Currently, to use it consistently, one can run the installer each time they want to run the program. If you leave that window open, the last thing in there will be the link you need to click to open up the program.
Only the launcher is broken.
caidicus
2024-07-15 07:38:52 +0000 UTC
The launcher doesn't seem to work. You can use it if you ctrl+left click the link in the window after running the installer, but the launcher itself only brings up a black window for less than a second, then disappears.
caidicus
2024-07-15 07:37:59 +0000 UTC
HOW IN THE HELL IS THIS A 1 CLICK INSTALLER? I WANT MY MONEY BACK(YES I KNOW IM NOT GETTING IT BUT YOUR NOT GETTING ANYMORE OF IT UNTIL YOU ACTUALLY HAVE A 1 CLICK INSTALLER FOR LIVE PORTRAIT
John Ross
2024-07-15 07:12:03 +0000 UTC
DOESNT WORK WHEN I GO AND DO ALL OF THIS THEN DOUBLE CLICK THE LIVE LAUNCHER.BAT IT OPENS UP A BLACK WINDOW FOR LESS THEN A SECOND WHICH THEN CLOSES BEFORE I CAN EVEN SEE WHAT IT SAYS BUT NO LIVEPORTRAIT OPENS ANYWHERE, BEEN A PATREON SUPPORTER OF YOUR FOR A FEW MONTHS NOW HAVE YET TO SEE ANYTHING THAT WORKS
John Ross
2024-07-15 07:01:27 +0000 UTC
When I install the LIVE PORTRAIT Auto install bat file, it will run, and then after the Filtering content is at 100%, the window will disappear before a URL is created.
Essence Cartoon
2024-07-15 02:32:49 +0000 UTC
Thanks so much for the installers and letting us know about Run Pod. I knew there was some way to do all this on a Cloud computer but you made so freaking easy to do.
Dougomite
2024-07-15 01:34:45 +0000 UTC
I can’t for the stable audio fine tuning post 🙌🙌🙌🔥
olivier andrade
2024-07-14 22:40:23 +0000 UTC