Spaces:
Running
๐ฉ Report : Not working
output images are corrupt. can't see the results :(
@ayca
Thanks! I've asked about this issue to HF members, and it may be a problem on the infra side though they are not 100% sure. I haven't encountered this error when running this demo on my GCP environment, and if it's an infra issue, there doesn't seem to be anything I can do and we have to wait they fix it.
Meanwhile, I guess you can try it on Colab etc. Also, if you are willing to pay for a GPU upgrade on HF Spaces, you can try duplicating this Space and assigning a T4 or A10G.
To run this on Colab, I think the following would work.
!git clone --recursive https://huggingface.co/spaces/hysts/ControlNet
%cd ControlNet
!pip install -q -r requirements.txt
!cd ControlNet && git apply ../patch
!sed -i '150d' app.py
!sed -i "149a demo.queue(api_open=False).launch(share=True, file_directories=['/tmp'])" app.py
!python app.py
It seems the error occurs when the number of replicas on HF Spaces is larger than 1, and I think it's an infra issue, so I'll close this issue.
FYI, the number of replica of this Space is now set to 1, so I think the error won't occur.