Gradio gets stuck in an infinite loop after clicking on an interactive image or when clicking a button on the panel. The image disappears immediately when doing so. This applies to the DragGAN interface that is locally set up with Gradio (although an internet connection is still available).
This issue does not seem to affect all users and I was suggested on Github that it might be related to a network connection issue of Huggingface Gradio.
And the Miniconda terminal doesn’t throw any errors at all when activating a new session with Gradio.
My knowledge on these subjects is limited, so I don’t know what’s causing this. However on some similar type of issue I found on Github concerning Gradio it might be related to a timeout value that’s too low in case of slow connections in combination with Chrome browsers. But again, I can’t judge if that applies to this problem as well.
The setup I’m using:
Visual Studio 2019 (Community)
NVIDIA GeForce GTX 1080
CUDA Toolkit v11.7 (installed separately from Miniconda3)
Packages (incomprehensive list)
I hope anyone can help me solve this matter! Cheers!
Infinite loop when clicking an interactive image: