Spaces:
Running
on
Zero
Running
on
Zero
macadeliccc
commited on
Commit
·
f08d3be
1
Parent(s):
02d64e0
change to starling-LM-7B
Browse files
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 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
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 |
|