The GUI seems to be broken

Author: gjnaveCreated Oct 8, 2024Updated Mar 15, 2026

Hi and thank you so much for this great project that i've been following for months now:

the current (manual install) version seems to have broken the GUI. When clicking on a sample image, the following error is displayed: Could not parse server response: SyntaxError: Unexpected token 'I', "Internal S"... is not valid JSON

as well, even if uploading images and video (or using webcam) it errors as well:

pydantic.errors.PydanticSchemaGenerationError: Unable to generate pydantic-core schema for <class 'starlette.requests.Request'>. Set `arbitrary_types_allowed=True` in the model_config to ignore this error or implement `__get_pydantic_core_schema__` on your type to fully support it.

If you got this error by calling handler(<some type>) within `__get_pydantic_core_schema__` then you likely need to call `handler.generate_schema(<some type>)` since we do not call `__get_pydantic_core_schema__` on `<some type>` otherwise to avoid infinite recursion

command line inference works however.

thank you for your assistance

Gary

Source: KlingAIResearch/LivePortrait