Leilaaaah commited on
Commit
80fd64a
·
verified ·
1 Parent(s): 75183c7

label change

Browse files
Files changed (1) hide show
  1. app.py +3 -6
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
- cuisine.title=("cuisine")
64
- dietary_restrictions=gr.Dropdown(["Gluten-Free","Dairy-Free","Vegan","Vegetarian","Keto","Kosher","No Soy","No Seafood","No Pork","No Beef"])
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]