Redfire-1234's picture
Create app.py
2996e44 verified
raw
history blame contribute delete
283 Bytes
"""
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)