env / server /app.py
sairaj2's picture
Upload folder using huggingface_hub
40e4201 verified
raw
history blame contribute delete
362 Bytes
"""Compatibility shim for the canonical OpenEnv FastAPI app."""
try:
from ..app import app, startup_event
except ImportError: # pragma: no cover - direct execution fallback
from env.app import app, startup_event
def main() -> None:
import uvicorn
uvicorn.run("env.app:app", host="0.0.0.0", port=8000)
if __name__ == "__main__":
main()