File size: 283 Bytes
2996e44
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
"""
Main entry point for Hugging Face Spaces deployment
This file should be in the root directory
"""
from backend.app import app

# This allows Hugging Face to find and run the FastAPI app
if __name__ == "__main__":
    import uvicorn
    uvicorn.run(app, host="0.0.0.0", port=7860)