Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -540,6 +540,8 @@ with gr.Blocks(title="Smart Fridge Recipe Assistant", theme=gr.themes.Soft()) as
|
|
| 540 |
gr.Markdown(
|
| 541 |
"""
|
| 542 |
# Smart Fridge Recipe Assistant
|
|
|
|
|
|
|
| 543 |
**How to use:**
|
| 544 |
1. (Optional) Select an example profile and/or image from dropdowns
|
| 545 |
2. Modify any preferences in the form - your profile will be saved automatically when you click Analyze
|
|
@@ -581,15 +583,13 @@ with gr.Blocks(title="Smart Fridge Recipe Assistant", theme=gr.themes.Soft()) as
|
|
| 581 |
)
|
| 582 |
vegetarian_radio = gr.Radio(
|
| 583 |
[
|
| 584 |
-
"flexible",
|
| 585 |
"flexible_vegetarian",
|
| 586 |
-
"
|
| 587 |
-
"lacto_vegetarian",
|
| 588 |
"vegan",
|
| 589 |
"non_vegetarian",
|
| 590 |
],
|
| 591 |
label="Vegetarian preference",
|
| 592 |
-
value="
|
| 593 |
)
|
| 594 |
allergies_box = gr.Textbox(
|
| 595 |
label="Allergies (comma separated)",
|
|
|
|
| 540 |
gr.Markdown(
|
| 541 |
"""
|
| 542 |
# Smart Fridge Recipe Assistant
|
| 543 |
+
**Notice:** For non-example profiles, online cold start may take **3-5 minutes** to run.
|
| 544 |
+
We recommend starting with the **Example Profiles** and **Example Fridge Images** for a faster experience.
|
| 545 |
**How to use:**
|
| 546 |
1. (Optional) Select an example profile and/or image from dropdowns
|
| 547 |
2. Modify any preferences in the form - your profile will be saved automatically when you click Analyze
|
|
|
|
| 583 |
)
|
| 584 |
vegetarian_radio = gr.Radio(
|
| 585 |
[
|
|
|
|
| 586 |
"flexible_vegetarian",
|
| 587 |
+
"vegetarian",
|
|
|
|
| 588 |
"vegan",
|
| 589 |
"non_vegetarian",
|
| 590 |
],
|
| 591 |
label="Vegetarian preference",
|
| 592 |
+
value="non_vegetarian",
|
| 593 |
)
|
| 594 |
allergies_box = gr.Textbox(
|
| 595 |
label="Allergies (comma separated)",
|