It looks very much like this case… Specifically, it seems to be more likely to occur when Gradio4 is unintentionally upgraded to Gradio5.
I can’t tell without the code, so it would be easier if you could show me the parts of the code that would not be a problem to disclose.