EmTpro01's picture
Update app/models/recipe.py
5f7edfe verified
raw
history blame contribute delete
241 Bytes
# app/models/recipe.py
from pydantic import BaseModel
from typing import List
class RecipeRequest(BaseModel):
ingredients: List[str]
class RecipeResponse(BaseModel):
title: str
ingredients: List[str]
instructions: List[str]