macadeliccc commited on
Commit
f08d3be
·
1 Parent(s): 02d64e0

change to starling-LM-7B

Browse files
Files changed (1) hide show
  1. app.py +9 -6
app.py CHANGED
@@ -38,14 +38,17 @@ def generate_response(user_input, chat_history):
38
  def clear_chat():
39
  return "", ""
40
 
 
41
  with gr.Blocks(gr.themes.Soft()) as app:
 
42
  with gr.Row():
43
- with gr.Column():
44
- user_input = gr.Textbox(label="Your Message", placeholder="Type your message here...")
45
- send = gr.Button("Send")
46
- clear = gr.Button("Clear")
47
- with gr.Column():
48
- chatbot = gr.Chatbot()
 
49
 
50
  chat_history = gr.State() # Holds the chat history
51
 
 
38
  def clear_chat():
39
  return "", ""
40
 
41
+
42
  with gr.Blocks(gr.themes.Soft()) as app:
43
+
44
  with gr.Row():
45
+ chatbot = gr.Chatbot()
46
+
47
+ with gr.Row():
48
+ user_input = gr.Textbox(label="Your Message", placeholder="Type your message here...")
49
+ send = gr.Button("Send")
50
+ clear = gr.Button("Clear")
51
+
52
 
53
  chat_history = gr.State() # Holds the chat history
54