ARya1119 commited on
Commit
e1ea963
·
1 Parent(s): 9ec7dee

Add application file

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