Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
mobixconsulting
/
fastapi
like
0
Sleeping
App
Files
Files
Community
mobixconsulting
commited on
Mar 4
Commit
361b9c1
•
1 Parent(s):
ba8d6b9
Create main.py
Browse files
Files changed (1)
hide
show
main.py
+8
-0
main.py
ADDED
Viewed
@@ -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"}