test endpoint
This commit is contained in:
parent
66086936f7
commit
8f5b72c2fa
@ -29,6 +29,9 @@ os.system("ipconfig")
|
|||||||
print("Starting server")
|
print("Starting server")
|
||||||
app = FastAPI()
|
app = FastAPI()
|
||||||
|
|
||||||
|
@app.get("/test")
|
||||||
|
async def test():
|
||||||
|
return {"message": "Test"}
|
||||||
|
|
||||||
@app.post("/process")
|
@app.post("/process")
|
||||||
async def process_image(file: UploadFile= File(...)):
|
async def process_image(file: UploadFile= File(...)):
|
||||||
|
Loading…
Reference in New Issue
Block a user