sail-sg / EditAnything

Edit anything in images powered by segment-anything, ControlNet, StableDiffusion, etc. (ACM MM)
Apache License 2.0
3.23k stars 179 forks source link

ValueError at runtime #73

Open leatherking opened 4 months ago

leatherking commented 4 months ago

Thanks for the excellent work

I have already configured the environment and run python app.py

However, when I upload an image and click the image, or I click the "Run" button, Gradio pops up the error message: "Expecting Value: line 1 column 1 (Char 0)"

image

The standard output did not show the error info

image

How can I solve this problem?

OS: ubuntu 20.04.2 LTS CPU: Intel 10700K GPU: RTX3090 RAM: 64 GB

gasvn commented 4 months ago

Are you using proxy? I didn't find this issue on my side. Maybe you can try the solutions I found. https://github.com/gradio-app/gradio/issues/3330 https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/9132

leatherking commented 3 months ago

Are you using proxy? I didn't find this issue on my side. Maybe you can try the solutions I found. gradio-app/gradio#3330 AUTOMATIC1111/stable-diffusion-webui#9132

Thanks! It was caused by proxy. I set unset http_proxy https_proxy and solved this problem.