import os import sys from pathlib import Path # Add the current directory to Python path sys.path.insert(0, str(Path(__file__).parent)) # Import and run the FastAPI app from server.py from server import app if __name__ == "__main__": import uvicorn uvicorn.run(app, host="0.0.0.0", port=7860)