Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
dev-mode-explorers
/
dev-mode-python
like
1
Running
App
Files
Files
Community
sbrandeis
HF staff
commited on
Jun 27
Commit
5fa5a4a
•
1 Parent(s):
9a61080
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 greet_json():
7
+
return {"Hello": "World!"}