Spaces:
Sleeping
Sleeping
File size: 299 Bytes
556e10f 0bfe6f1 556e10f | 1 2 3 4 5 6 7 8 9 10 11 | import os
from src.ui.app_factory import create_app
if __name__ == "__main__":
app = create_app()
port = int(os.getenv("PORT") or os.getenv("BIRDNET_VALIDATOR_PORT") or "7860")
host = os.getenv("BIRDNET_VALIDATOR_HOST") or "0.0.0.0"
app.launch(server_name=host, server_port=port)
|