Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,6 @@ from datetime import datetime
|
|
| 11 |
from pathlib import Path
|
| 12 |
from uuid import uuid4
|
| 13 |
import requests
|
| 14 |
-
import warnings
|
| 15 |
|
| 16 |
logging.set_verbosity_debug()
|
| 17 |
|
|
@@ -32,6 +31,8 @@ TOKEN = os.getenv("token")
|
|
| 32 |
|
| 33 |
class Recipe(BaseModel):
|
| 34 |
name: str
|
|
|
|
|
|
|
| 35 |
ingredients: List[str]
|
| 36 |
instructions: str
|
| 37 |
|
|
|
|
| 11 |
from pathlib import Path
|
| 12 |
from uuid import uuid4
|
| 13 |
import requests
|
|
|
|
| 14 |
|
| 15 |
logging.set_verbosity_debug()
|
| 16 |
|
|
|
|
| 31 |
|
| 32 |
class Recipe(BaseModel):
|
| 33 |
name: str
|
| 34 |
+
time: str
|
| 35 |
+
creator: str
|
| 36 |
ingredients: List[str]
|
| 37 |
instructions: str
|
| 38 |
|