aashnaj commited on
Commit
75183c7
·
verified ·
1 Parent(s): 55a30b0

adding titles

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -60,8 +60,11 @@ theme = gr.themes.Monochrome(
60
  with gr.Blocks(theme=theme) as chatbot:
61
  gr.Markdown("## 🥗🍴 The BiteBot")
62
  cuisine=gr.Textbox()
 
63
  dietary_restrictions=gr.Dropdown(["Gluten-Free","Dairy-Free","Vegan","Vegetarian","Keto","Kosher","No Soy","No Seafood","No Pork","No Beef"])
 
64
  allergies=gr.Textbox()
 
65
  gr.ChatInterface(
66
  fn=respond,
67
  type="messages", additional_inputs=[cuisine,dietary_restrictions,allergies]
 
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]