File size: 395 Bytes
06c8523
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""
Hugging Face Spaces entrypoint for CivicSetu.

The Docker SDK expects app.py to expose a FastAPI app as `app`.
This file wraps civicsetu.api.main and adds the Spaces-grade configuration.
"""

from __future__ import annotations

from civicsetu.api.main import app

# Hugging Face Spaces injects the port via PORT env var
# The Spaces SDK expects this module to expose `app`
__all__ = ["app"]