Hi, I’m trying to run this Space locally:
HF /spaces/radames/Enhance-This-HiDiffusion-SDXL
I’m on Windows 11 Pro, I have the required version of Python and my GPU is Nvidia 4090. I’m following the suggested steps:
- git lfs install
- git clone Enhance This HiDiffusion SDXL - a Hugging Face Space by radames
- python -m venv .env
- …env\Scripts\activate
- pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
- pip install -r requirements.txt
- pip install mediapipe
- pip install streamlit
- streamlit run app.py
The result:
You can now view your Streamlit app in your browser.
Local URL: localhost:8501
Network URL: 192.168.1.30:8501
2024-05-26 19:11:06.061 Uncaught app exception
Traceback (most recent call last):
File “C:\Enhance-This-HiDiffusion-SDXL.env\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py”, line 600, in run_script
exec(code, module.dict)
File “C:\Enhance-This-HiDiffusion-SDXL\app.py”, line 1, in
import spaces
File “C:\Enhance-This-HiDiffusion-SDXL.env\lib\site-packages\spaces_init.py”, line 10, in
from .zero.decorator import GPU
File “C:\Enhance-This-HiDiffusion-SDXL.env\lib\site-packages\spaces\zero\decorator.py”, line 21, in
from .wrappers import regular_function_wrapper
File “C:\Enhance-This-HiDiffusion-SDXL.env\lib\site-packages\spaces\zero\wrappers.py”, line 15, in
from multiprocessing.context import ForkProcess
ImportError: cannot import name ‘ForkProcess’ from ‘multiprocessing.context’ (C:\Users\lirex.pyenv\pyenv-win\versions\3.10.11\lib\multiprocessing\context.py)
Any advise will be appreciated, thanks!