Some dependency package has stopped working by the time I write this comment (such as gradio). Would somebody paste the result of pip freeze of the working environment?
edit I have successfully run the app.py locally by downgrading gradio. But it processing indefinitely after I press Generate.