Spaces:
Sleeping
Sleeping
label change
Browse files
app.py
CHANGED
@@ -59,12 +59,9 @@ theme = gr.themes.Monochrome(
|
|
59 |
|
60 |
with gr.Blocks(theme=theme) as chatbot:
|
61 |
gr.Markdown("## 🥗🍴 The BiteBot")
|
62 |
-
cuisine=gr.Textbox()
|
63 |
-
|
64 |
-
|
65 |
-
dietary_restrictions.title=("dietary restrictions")
|
66 |
-
allergies=gr.Textbox()
|
67 |
-
allergies.title=("allergies")
|
68 |
gr.ChatInterface(
|
69 |
fn=respond,
|
70 |
type="messages", additional_inputs=[cuisine,dietary_restrictions,allergies]
|
|
|
59 |
|
60 |
with gr.Blocks(theme=theme) as chatbot:
|
61 |
gr.Markdown("## 🥗🍴 The BiteBot")
|
62 |
+
cuisine=gr.Textbox(label="cuisine")
|
63 |
+
dietary_restrictions=gr.Dropdown(["Gluten-Free","Dairy-Free","Vegan","Vegetarian","Keto","Kosher","No Soy","No Seafood","No Pork","No Beef"], label="dietary restrictions")
|
64 |
+
allergies=gr.Textbox(label="allergies")
|
|
|
|
|
|
|
65 |
gr.ChatInterface(
|
66 |
fn=respond,
|
67 |
type="messages", additional_inputs=[cuisine,dietary_restrictions,allergies]
|