""" Hugging Face Spaces entry point This file is required for Hugging Face Spaces deployment """ import subprocess import os if __name__ == "__main__": # Set default port for Hugging Face Spaces os.environ.setdefault("PORT", "7860") os.environ.setdefault("SPACE_PORT", "7860") # Start the Node.js server subprocess.run(["node", "dist/server.js"])