deepakkumar001 commited on
Commit
497807b
·
verified ·
1 Parent(s): e4423e9

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -0
app.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # run.py - Script to start the server
2
+ """
3
+ Simple script to run the FastAPI server
4
+ Usage: python run.py
5
+ """
6
+ import uvicorn
7
+
8
+ if __name__ == "__main__":
9
+ uvicorn.run(
10
+ "server:app",
11
+ host="127.0.0.1",
12
+ port=8000,
13
+ reload=True, # Enable auto-reload during development
14
+ log_level="info"
15
+ )