Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
zzzyuz
/
docker
like
0
Runtime error
App
Files
Files
Community
zzzyuz
commited on
Feb 25, 2023
Commit
a76360d
•
1 Parent(s):
3bef517
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+7
-0
app.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!"}