Spaces:
Runtime error
Runtime error
Commit
·
970b807
1
Parent(s):
8b86960
Create app.py
Browse files- module/app.py +7 -0
module/app.py
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from fastapi import FastAPI
|
2 |
+
|
3 |
+
app = FastAPI()
|
4 |
+
|
5 |
+
@app.get("/")
|
6 |
+
async def root():
|
7 |
+
return {"message": "Hello World"}
|