Berkov2 commited on
Commit
04afc5c
·
verified ·
1 Parent(s): 6fa3664

Create app.py

Browse files

from fastapi import FastAPI

app = FastAPI()



@app
.get("/")
def greet_json():
return {"Hello": "World!"}

Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+
2
+ from fastapi import FastAPI
3
+
4
+ app = FastAPI()
5
+
6
+ @app.get("/")
7
+ def greet_json():
8
+ return {"Hello": "World!"}