cedricable commited on
Commit
2f3398f
·
1 Parent(s): 8236b9f

Rename app.py to main.py

Browse files
Files changed (1) hide show
  1. app.py → main.py +2 -2
app.py → main.py RENAMED
@@ -2,6 +2,6 @@ from fastapi import FastAPI
2
 
3
  app = FastAPI()
4
 
5
-
6
  def read_root():
7
- return {"Hello": "World!"}
 
2
 
3
  app = FastAPI()
4
 
5
+ @app.get("/")
6
  def read_root():
7
+ return {"Hello": "World!"}