KvrParaskevi
commited on
Update app.py
Browse files
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.
|
75 |
fn=chat_output,
|
76 |
inputs=[
|
77 |
textbox_component
|
78 |
],
|
79 |
-
|
|
|
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 |
)
|