Next7years commited on
Commit
cf13da4
1 Parent(s): bad6a2f
Files changed (1) hide show
  1. main.py +2 -5
main.py CHANGED
@@ -1,11 +1,8 @@
1
  from fastapi import FastAPI
2
- import uvicorn
3
 
4
  app = FastAPI()
5
 
6
  @app.get("/")
7
  def read_root():
8
- return {"Hello": "World!"}
9
-
10
- if __name__ == "__main__":
11
- uvicorn.run(app, host="0.0.0.0", port=8000)
 
1
  from fastapi import FastAPI
2
+
3
 
4
  app = FastAPI()
5
 
6
  @app.get("/")
7
  def read_root():
8
+ return {"Hello": "World!"}