EmTpro01 commited on
Commit
5f7edfe
·
verified ·
1 Parent(s): 3460142

Update app/models/recipe.py

Browse files
Files changed (1) hide show
  1. app/models/recipe.py +11 -11
app/models/recipe.py CHANGED
@@ -1,11 +1,11 @@
1
- # app/models/recipe.py
2
- from pydantic import BaseModel
3
- from typing import List
4
-
5
- class RecipeRequest(BaseModel):
6
- ingredients: List[str]
7
-
8
- class RecipeResponse(BaseModel):
9
- title: str
10
- ingredients: List[str]
11
- instructions: List[str]
 
1
+ # app/models/recipe.py
2
+ from pydantic import BaseModel
3
+ from typing import List
4
+
5
+ class RecipeRequest(BaseModel):
6
+ ingredients: List[str]
7
+
8
+ class RecipeResponse(BaseModel):
9
+ title: str
10
+ ingredients: List[str]
11
+ instructions: List[str]