Rakshitjan commited on
Commit
6880309
·
verified ·
1 Parent(s): f2df4bb

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ from main import app
2
+
3
+ # This file is needed for Hugging Face Spaces to detect the FastAPI app
4
+ if __name__ == "__main__":
5
+ import uvicorn
6
+ uvicorn.run(app, host="0.0.0.0", port=7860)