Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ additional_inputs = [
|
|
64 |
avatar_images = ("https://i.postimg.cc/pXjKKVXG/user-circle.png", "https://i.postimg.cc/qq04Yz93/CL3.png")
|
65 |
|
66 |
with gr.Blocks() as demo:
|
67 |
-
chatbot = gr.Chatbot(value=gr.
|
68 |
gr.ChatInterface(
|
69 |
fn=generate,
|
70 |
chatbot=gr.Chatbot(show_label=True, show_share_button=False, show_copy_button=True, likeable=True, layout="panel", height="auto", avatar_images=avatar_images),
|
|
|
64 |
avatar_images = ("https://i.postimg.cc/pXjKKVXG/user-circle.png", "https://i.postimg.cc/qq04Yz93/CL3.png")
|
65 |
|
66 |
with gr.Blocks() as demo:
|
67 |
+
chatbot = gr.Chatbot(value=gr.context.client.call('loadChat'))
|
68 |
gr.ChatInterface(
|
69 |
fn=generate,
|
70 |
chatbot=gr.Chatbot(show_label=True, show_share_button=False, show_copy_button=True, likeable=True, layout="panel", height="auto", avatar_images=avatar_images),
|