VINU NAYAK commited on
Commit
25739c4
·
verified ·
1 Parent(s): 7fcf591

Create start.py

Browse files
Files changed (1) hide show
  1. start.py +7 -0
start.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import uvicorn
2
+
3
+ if __name__ == "__main__":
4
+ print("Starting Background Removal API server...")
5
+ print("The API will be available at: http://localhost:7860")
6
+ print("Use the /remove-bg endpoint to remove backgrounds from images")
7
+ uvicorn.run("app:app", host="0.0.0.0", port=7860, reload=True)