Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
xcx0902
/
discord-bot
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
3ed8626
discord-bot
/
keepalive.py
xcx0902
Upload folder using huggingface_hub
3ed8626
verified
about 1 month ago
raw
Copy download link
history
blame
Safe
200 Bytes
from
fastapi
import
FastAPI
import
uvicorn
app = FastAPI()
@app.get(
"/"
)
def
root
():
return
{
"Hello"
:
"World"
}
def
keepalive
():
uvicorn.run(app=app, host=
"0.0.0.0"
, port=
"7860"
)