Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -31,6 +31,8 @@ def send_message(api_key, user_message, history):
|
|
31 |
return "", history
|
32 |
|
33 |
with gr.Blocks() as demo:
|
|
|
|
|
34 |
history = gr.State([])
|
35 |
|
36 |
with gr.Column():
|
@@ -41,4 +43,4 @@ with gr.Blocks() as demo:
|
|
41 |
|
42 |
send_btn.click(send_message, [api_key_input, msg, history], [msg, chatbot])
|
43 |
|
44 |
-
demo.launch()
|
|
|
31 |
return "", history
|
32 |
|
33 |
with gr.Blocks() as demo:
|
34 |
+
gr.Markdown("# Together AI Chatbot Demo")
|
35 |
+
|
36 |
history = gr.State([])
|
37 |
|
38 |
with gr.Column():
|
|
|
43 |
|
44 |
send_btn.click(send_message, [api_key_input, msg, history], [msg, chatbot])
|
45 |
|
46 |
+
demo.launch()
|