Spaces:
Sleeping
Sleeping
File size: 274 Bytes
6ed38e9 | 1 2 3 4 5 6 7 8 9 10 | import sys
import os
# Add root directory to path so imports work identically to running locally
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from app import app
# Vercel needs the flask app to be exposed exactly like this in api/index.py
|