Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Yusin
/
docker_test
like
1
Build error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
Yusin
commited on
Dec 26, 2022
Commit
403ba57
·
1 Parent(s):
2043908
Create main.py
Browse files
Files changed (1)
hide
show
main.py
+7
-0
main.py
ADDED
Viewed
@@ -0,0 +1,7 @@
1
+
from fastapi import FastAPI
2
+
3
+
app = FastAPI()
4
+
5
+
@app.get("/")
6
+
def read_root():
7
+
return {"Hello": "World!"}