Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -269,13 +269,13 @@ def display_response(response):
|
|
| 269 |
|
| 270 |
|
| 271 |
with st.container(height=800):
|
| 272 |
-
st.write(f"Name: {response['name'].capitalize()}")
|
| 273 |
-
st.write(f"Preparation Time: {response['minutes']} minutes")
|
| 274 |
-
st.write(f"Description: {response['description'].capitalize()}")
|
| 275 |
-
st.write(f"Tags: {', '.join(response['tags'])}")
|
| 276 |
st.write("### Ingredients")
|
| 277 |
st.write(", ".join([ingredient.capitalize() for ingredient in response['ingredients']]))
|
| 278 |
-
st.write(f"Total Ingredients: {response['n_ingredients']}")
|
| 279 |
st.write("### Nutrition Information (per serving)")
|
| 280 |
st.write(", ".join(response['formatted_nutrition']))
|
| 281 |
st.write(f"Number of Steps: {response['n_steps']}")
|
|
|
|
| 269 |
|
| 270 |
|
| 271 |
with st.container(height=800):
|
| 272 |
+
st.write(f"**Name**: {response['name'].capitalize()}")
|
| 273 |
+
st.write(f"**Preparation Time**: {response['minutes']} minutes")
|
| 274 |
+
st.write(f"**Description**: {response['description'].capitalize()}")
|
| 275 |
+
st.write(f"**Tags**: {', '.join(response['tags'])}")
|
| 276 |
st.write("### Ingredients")
|
| 277 |
st.write(", ".join([ingredient.capitalize() for ingredient in response['ingredients']]))
|
| 278 |
+
st.write(f"**Total Ingredients**: {response['n_ingredients']}")
|
| 279 |
st.write("### Nutrition Information (per serving)")
|
| 280 |
st.write(", ".join(response['formatted_nutrition']))
|
| 281 |
st.write(f"Number of Steps: {response['n_steps']}")
|