Spaces:
Sleeping
Sleeping
Sarah Ciston
commited on
Commit
•
70f57d7
1
Parent(s):
f87b990
remove kwargs in gr.block
Browse files
app.py
CHANGED
@@ -33,9 +33,7 @@ def interact_with_agent(prompt, messages):
|
|
33 |
yield messages
|
34 |
|
35 |
with gr.Blocks() as demo:
|
36 |
-
chatbot = gr.Chatbot(
|
37 |
-
msg_format="messages",
|
38 |
-
avatar_images=(None, "https://em-content.zobj.net/source/twitter/53/robot-face_1f916.png"))
|
39 |
text_input = gr.Textbox(lines=1, label="Chat Message")
|
40 |
text_input.submit(interact_with_agent, [text_input, chatbot], [chatbot])
|
41 |
|
|
|
33 |
yield messages
|
34 |
|
35 |
with gr.Blocks() as demo:
|
36 |
+
chatbot = gr.Chatbot()
|
|
|
|
|
37 |
text_input = gr.Textbox(lines=1, label="Chat Message")
|
38 |
text_input.submit(interact_with_agent, [text_input, chatbot], [chatbot])
|
39 |
|