Spaces:
Sleeping
Sleeping
Update app/models/recipe.py
Browse files- 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]
|