rklb_materials / api /index.py
gphua1's picture
Initial deployment to HuggingFace Spaces
19ba50b
raw
history blame contribute delete
244 Bytes
# Vercel serverless entry point
import os
os.environ['VERCEL'] = '1'
# Import the FastAPI app from main application
import sys
from pathlib import Path
sys.path.append(str(Path(__file__).parent.parent))
from app import run_api
app = run_api()