diff --git a/ai_server.py b/ai_server.py new file mode 100644 index 0000000..6c38934 --- /dev/null +++ b/ai_server.py @@ -0,0 +1,14 @@ +# conda activate PyTorch + +# 起動コマンドは下記の通り +# uvicorn ai_server:app --reload + +import torch + +from fastapi import FastAPI +app = FastAPI() + +@app.get("/") +async def hello(): + return {"message" : "Hello,World"} +