Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -62,7 +62,18 @@ with gr.Blocks(title="Alfred's Menu Planner") as demo:
|
|
| 62 |
placeholder="Enter a query, select an option below, or click the button for a surprise menu!",
|
| 63 |
lines=3
|
| 64 |
)
|
|
|
|
| 65 |
submit_btn = gr.Button("Ask Alfred", variant="primary")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
|
| 67 |
with gr.Column(scale=2):
|
| 68 |
output = gr.Markdown(
|
|
@@ -81,15 +92,7 @@ with gr.Blocks(title="Alfred's Menu Planner") as demo:
|
|
| 81 |
show_progress=True
|
| 82 |
)
|
| 83 |
|
| 84 |
-
|
| 85 |
-
examples=[
|
| 86 |
-
["Plan a casual menu for my birthday party"],
|
| 87 |
-
["I need a formal dinner menu for 8 people"],
|
| 88 |
-
["What would be good for a superhero themed party in my backyard?"],
|
| 89 |
-
["Suggest a menu for a garden party. Aim to impress!"]
|
| 90 |
-
],
|
| 91 |
-
inputs=user_input
|
| 92 |
-
)
|
| 93 |
|
| 94 |
if __name__ == "__main__":
|
| 95 |
demo.launch()
|
|
|
|
| 62 |
placeholder="Enter a query, select an option below, or click the button for a surprise menu!",
|
| 63 |
lines=3
|
| 64 |
)
|
| 65 |
+
|
| 66 |
submit_btn = gr.Button("Ask Alfred", variant="primary")
|
| 67 |
+
|
| 68 |
+
gr.Examples(
|
| 69 |
+
examples=[
|
| 70 |
+
["Plan a casual menu for my birthday party"],
|
| 71 |
+
["I need a formal dinner menu for 8 people"],
|
| 72 |
+
["What would be good for a superhero themed party in my backyard?"],
|
| 73 |
+
["Suggest a menu for a garden party. Aim to impress!"]
|
| 74 |
+
],
|
| 75 |
+
inputs=user_input
|
| 76 |
+
)
|
| 77 |
|
| 78 |
with gr.Column(scale=2):
|
| 79 |
output = gr.Markdown(
|
|
|
|
| 92 |
show_progress=True
|
| 93 |
)
|
| 94 |
|
| 95 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
|
| 97 |
if __name__ == "__main__":
|
| 98 |
demo.launch()
|