Spaces:
Sleeping
Sleeping
File size: 386 Bytes
5510ae2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | """Compatibility shim for validators expecting server/app.py."""
from __future__ import annotations
import os
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parents[1]
if str(ROOT) not in sys.path:
sys.path.insert(0, str(ROOT))
from app import app, run_server # noqa: E402,F401
def main() -> None:
run_server()
if __name__ == "__main__":
main()
|