| """ | |
| HuggingFace Space entry point. | |
| HF Spaces look for app.py — this just runs the Flask bot. | |
| """ | |
| from bot import app | |
| if __name__ == "__main__": | |
| import os | |
| port = int(os.environ.get("PORT", 7860)) | |
| app.run(host="0.0.0.0", port=port) | |
| """ | |
| HuggingFace Space entry point. | |
| HF Spaces look for app.py — this just runs the Flask bot. | |
| """ | |
| from bot import app | |
| if __name__ == "__main__": | |
| import os | |
| port = int(os.environ.get("PORT", 7860)) | |
| app.run(host="0.0.0.0", port=port) | |