12 lines
261 B
Python
12 lines
261 B
Python
from fastapi import APIRouter, HTTPException
|
|
|
|
router = APIRouter()
|
|
|
|
|
|
@router.post("/train")
|
|
def start_train():
|
|
raise HTTPException(
|
|
status_code=501,
|
|
detail="Train trigger is not implemented yet. Will be connected to training server.",
|
|
)
|