I’m facing the same error and this answer’s solution (pin gradio to 3.44.1) does not solve the issue
3.44.1