omnia-ghonem commited on
Commit
4628d37
·
verified ·
1 Parent(s): 1a275f7

Create mainapp.py

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