Update app.py with new dependencies and refactor code for Hugging Face spaces 4f4ee2f devis2 commited on May 30