Raje19112003/Invoice_Dispute_Resolution_Environment
0
1"""2Invoice Dispute Resolution Environment — HuggingFace Entry Point3 4This is the entry point for HuggingFace Spaces deployment.5It imports and exposes the FastAPI app from server.app6"""7 8import os9import sys10 11# Add the server module to path12sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))13 14# Import the FastAPI app from server.app15from server.app import app16 17# The app is now available for HuggingFace to serve18# HuggingFace will run: python -m uvicorn app:app --host 0.0.0.0 --port 786019 20if __name__ == "__main__":21 import uvicorn22 # Run directly23 uvicorn.run(app, host="0.0.0.0", port=7860)24 