Spaces:
Runtime error
Runtime error
KvrParaskevi
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -71,12 +71,14 @@ with gr.Blocks() as demo:
|
|
71 |
#clear = gr.Button("Clear")
|
72 |
#llm_chain, llm = init_chain(model, tokenizer)
|
73 |
|
74 |
-
demo.chatbot_interface = gr.
|
75 |
fn=chat_interface,
|
76 |
inputs=[
|
77 |
gr.Textbox(lines=1, label="input")
|
78 |
],
|
79 |
-
outputs="text"
|
|
|
|
|
80 |
)
|
81 |
demo.launch()
|
82 |
|
|
|
71 |
#clear = gr.Button("Clear")
|
72 |
#llm_chain, llm = init_chain(model, tokenizer)
|
73 |
|
74 |
+
demo.chatbot_interface = gr.ChatInterface(
|
75 |
fn=chat_interface,
|
76 |
inputs=[
|
77 |
gr.Textbox(lines=1, label="input")
|
78 |
],
|
79 |
+
outputs="text",
|
80 |
+
title = "Hotel Booking Assistant Chat 🤗",
|
81 |
+
description = "I am your hotel booking assistant. Feel free to start chatting with me."
|
82 |
)
|
83 |
demo.launch()
|
84 |
|