Spaces:
Configuration error
Configuration error
# 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() |