cloze-reader / app.py
milwright's picture
feat: clean cloze reader for HuggingFace Space
53d138c
raw
history blame
258 Bytes
from fastapi import FastAPI
from fastapi.responses import FileResponse
app = FastAPI()
@app.get("/")
async def read_root():
return FileResponse("index.html")
if __name__ == "__main__":
import uvicorn
uvicorn.run(app, host="0.0.0.0", port=7860)