KvrParaskevi commited on
Commit
e3213ee
·
verified ·
1 Parent(s): 7954b88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -71,12 +71,13 @@ with gr.Blocks() as demo:
71
  chatbot_component = gr.Chatbot(height=300, label = "history")
72
  textbox_component = gr.Textbox(placeholder="Can I help you to book a hotel?", container=False, label = "input", scale=7)
73
 
74
- demo.chatbot_interface = gr.Interface(
75
  fn=chat_output,
76
  inputs=[
77
  textbox_component
78
  ],
79
- outputs=chatbot_component,
 
80
  title = "Hotel Booking Assistant Chat 🤗",
81
  description = "I am your hotel booking assistant. Feel free to start chatting with me."
82
  )
 
71
  chatbot_component = gr.Chatbot(height=300, label = "history")
72
  textbox_component = gr.Textbox(placeholder="Can I help you to book a hotel?", container=False, label = "input", scale=7)
73
 
74
+ demo.chatbot_interface = gr.ChatInterface(
75
  fn=chat_output,
76
  inputs=[
77
  textbox_component
78
  ],
79
+ examples = ["Hello I would like to book a hotel room.", "Hello I want to stay in Nuremberg in 30th of May." ]
80
+ #outputs=chatbot_component,
81
  title = "Hotel Booking Assistant Chat 🤗",
82
  description = "I am your hotel booking assistant. Feel free to start chatting with me."
83
  )