Spaces:
Sleeping
Sleeping
fixing the error on chatbot = gr.Chatbot().style(height=350)
Browse files
app.py
CHANGED
@@ -40,7 +40,9 @@ def respond(message, chat_history):
|
|
40 |
|
41 |
|
42 |
with gr.Blocks() as demo:
|
43 |
-
|
|
|
|
|
44 |
msg = gr.Textbox()
|
45 |
clear = gr.ClearButton([msg, chatbot])
|
46 |
msg.submit(respond, [msg, chatbot], [msg, chatbot])
|
|
|
40 |
|
41 |
|
42 |
with gr.Blocks() as demo:
|
43 |
+
gr.Chatbot() = gr.image(height=350)
|
44 |
+
chatbot = gr.Chatbot();
|
45 |
+
#chatbot = gr.Chatbot().style(height=350)
|
46 |
msg = gr.Textbox()
|
47 |
clear = gr.ClearButton([msg, chatbot])
|
48 |
msg.submit(respond, [msg, chatbot], [msg, chatbot])
|