| from flask import Flask | |
| import threading | |
| import time | |
| app = Flask(__name__) | |
| def home(): | |
| return ''' | |
| <html> | |
| <head><title>Ultroid Status</title></head> | |
| <body> | |
| <h1>π€ Ultroid Userbot</h1> | |
| <p>Status: Running on Hugging Face Spaces</p> | |
| <p>Bot is active in the background!</p> | |
| </body> | |
| </html> | |
| ''' | |
| def status(): | |
| return {"status": "running", "message": "Ultroid is active"} | |
| if __name__ == '__main__': | |
| app.run(host='0.0.0.0', port=7860) | |