ammaan commited on
Commit
549d2af
1 Parent(s): 38a9e50

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +14 -10
main.py CHANGED
@@ -1,10 +1,14 @@
1
- from typing import Union
2
-
3
- from fastapi import FastAPI
4
-
5
- app = FastAPI()
6
-
7
-
8
- @app.get("/")
9
- def read_root():
10
- return {"Hello": "World Bob"}
 
 
 
 
 
1
+ from typing import Union
2
+
3
+ from fastapi import FastAPI
4
+
5
+ app = FastAPI()
6
+
7
+ dataset='hello world how are you'
8
+ @app.get("/")
9
+ def read_root():
10
+ response_data:{
11
+ 'Status':'Success',
12
+ 'data':dataset
13
+ }
14
+ return response_data