ttk-bot / server.py
randydev's picture
Create server.py
b42d12d verified
raw
history blame
211 Bytes
import os
import uvicorn
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
def hello():
return {"message": "running"}
if __name__ == "__main__":
uvicorn.run(app, host="0.0.0.0", port=7860)