Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -108,7 +108,7 @@ def recipe_action(choice, name, ingredients, steps):
|
|
| 108 |
|
| 109 |
with gr.Blocks() as interface:
|
| 110 |
choice = gr.Radio(["List Recipes", "View Recipe Details", "Add New Recipe", "Random Recipe"], label="Choose an Action")
|
| 111 |
-
name = gr.Textbox(label="Recipe Name (for View/Add)", placeholder="Enter recipe name here...")
|
| 112 |
ingredients = gr.Textbox(label="Ingredients (comma-separated, for Add)", placeholder="Enter ingredients here...")
|
| 113 |
steps = gr.Textbox(label="Steps (for Add)", placeholder="Enter preparation steps here...")
|
| 114 |
output = gr.Textbox(label="Output", interactive=False)
|
|
|
|
| 108 |
|
| 109 |
with gr.Blocks() as interface:
|
| 110 |
choice = gr.Radio(["List Recipes", "View Recipe Details", "Add New Recipe", "Random Recipe"], label="Choose an Action")
|
| 111 |
+
name = gr.Textbox(label="Recipe Name (for View/Add)", placeholder="Enter new recipe name here...")
|
| 112 |
ingredients = gr.Textbox(label="Ingredients (comma-separated, for Add)", placeholder="Enter ingredients here...")
|
| 113 |
steps = gr.Textbox(label="Steps (for Add)", placeholder="Enter preparation steps here...")
|
| 114 |
output = gr.Textbox(label="Output", interactive=False)
|