Leilaaaah commited on
Commit
75174ce
·
verified ·
1 Parent(s): 71efc50

multiselect attempt no2

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -60,9 +60,7 @@ theme = gr.themes.Monochrome(
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
- multiselect=True,
65
- info="you can select multiple!"
66
  allergies=gr.Textbox(label="allergies")
67
  gr.ChatInterface(
68
  fn=respond,
 
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", multiselect=True,info="you can select multiple!")
 
 
64
  allergies=gr.Textbox(label="allergies")
65
  gr.ChatInterface(
66
  fn=respond,