Spaces:
Sleeping
Sleeping
Commit ·
8b1ff16
1
Parent(s): 4970800
Added FastAPI app
Browse files- app.py +7 -0
- requirements.txt +0 -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
|
Binary file (58 Bytes). View file
|
|
|