Issue (DragGAN): Gradio gets stuck in loop after clicking interactive image or button

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:

Windows 10
Chrome browser
Visual Studio 2019 (Community)
Miniconda3
NVIDIA GeForce GTX 1080
CUDA Toolkit v11.7 (installed separately from Miniconda3)

Packages (incomprehensive list)
draggan 1.1.6
gradio 3.34.0
gradio-client 0.2.6
python 3.7.16
torch 1.13.1+cu117
torchaudio 0.13.1+cu117
torchvision 0.1.6

I hope anyone can help me solve this matter! Cheers! :grinning:

Infinite loop when clicking an interactive image: