Redfire-1234 commited on
Commit
2996e44
·
verified ·
1 Parent(s): a97aeb0

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Main entry point for Hugging Face Spaces deployment
3
+ This file should be in the root directory
4
+ """
5
+ from backend.app import app
6
+
7
+ # This allows Hugging Face to find and run the FastAPI app
8
+ if __name__ == "__main__":
9
+ import uvicorn
10
+ uvicorn.run(app, host="0.0.0.0", port=7860)