Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
a-alvin
/
test
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
test
/
app.py
totallynotalvin
secret test
139b2e4
3 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
145 Bytes
from
fastapi
import
FastAPI
import
os
app = FastAPI()
@app.get(
"/"
)
def
greet_json
():
return
{
"Hello"
: os.environ.get(
"TEST"
,
"failed."
)}