Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
randydev
/
ttk-bot
like
0
Running
App
Files
Files
Community
5
Fetching metadata from the HF Docker repository...
refs/pr/4
ttk-bot
/
server.py
randydev
Update server.py
0a54fe2
verified
6 months ago
raw
Copy download link
history
blame
Safe
202 Bytes
import
os
import
uvicorn
from
fastapi
import
FastAPI
app = FastAPI()
@app.get(
"/"
)
def
hello
():
return
"Running Bot"
if
__name__ ==
"__main__"
:
uvicorn.run(app, host=
"0.0.0.0"
, port=
7860
)