File size: 532 Bytes
fc58aef
 
 
acb327b
 
fc58aef
 
 
 
 
023ed75
fc58aef
1
2
3
4
5
6
7
8
9
10
11
12
13
"""HuggingFace Space entry point — forwards to FastAPI+Gradio server."""
import sys
import os
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))

# This file is kept for compatibility.
# The actual app is in server/app.py and launched via Dockerfile CMD:
#   python -m uvicorn server.app:app --host 0.0.0.0 --port 7860
# All endpoints:
#   /health  /tasks  /reset  /step  /state  /metrics  /fingerprint  /history  /docs  /ui

from server.app import app  # noqa: F401 — imported so this module is a valid ASGI target