KvrParaskevi commited on
Commit
b99666c
1 Parent(s): d9dc41d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -66,12 +66,12 @@ llm_chain = ConversationChain(llm=llm, memory = memory)
66
 
67
  with gr.Blocks() as demo:
68
  gr.Markdown("Hotel Booking Assistant Chat 🤗")
69
- #chatbot = gr.Chatbot(label="Chat history")
70
  #message = gr.Textbox(label="Ask me a question!")
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")
 
66
 
67
  with gr.Blocks() as demo:
68
  gr.Markdown("Hotel Booking Assistant Chat 🤗")
69
+ chatbot = gr.Chatbot( [ ],label="Chat history", bubble_full_width=False)
70
  #message = gr.Textbox(label="Ask me a question!")
71
  #clear = gr.Button("Clear")
72
  #llm_chain, llm = init_chain(model, tokenizer)
73
 
74
+ demo.chatbot_interface = gr.Interface(
75
  fn=chat_interface,
76
  inputs=[
77
  gr.Textbox(lines=1, label="input")