Spaces:
Running
Problems with the current HuggingFace demo and local installation
The demo at https://huggingface.co/spaces/alibaba-pai/CogVideoX-Fun-5b runs into an error after a few seconds.
Local installation: The error message is:
response = session.post(url=f'{os.environ.get("EAS_URL")}/cogvideox_fun/infer_forward', json=datas, timeout=300)
requests.exceptions.MissingSchema: Invalid URL 'None/cogvideox_fun/infer_forward': No scheme supplied. Perhaps you meant https://None/cogvideox_fun/infer_forward?
If you want to use it locally, please download the official Github and run app.py
The Github repository is this: https://github.com/aigc-apps/CogVideoX-Fun/ (a link from here: https://huggingface.co/spaces/alibaba-pai/CogVideoX-Fun-5b)?
When running pip install -r requirements.txt I get
ModuleNotFoundError: No module named 'torch'
when compiling xformers,
though torch has been installed (torch>=2.1.2 as requirements.txt says).
Can you try the docker image? It is very difficult to find problems in the local environment