# This file should be in: your_project_root/app.py from backend.app import app # The 'app' variable needs to be accessible at the top level for Hugging Face. # The launch block is good practice and lets you run this file locally. if __name__ == "__main__": app.launch()