Prof-Reza commited on
Commit
40ceffb
·
1 Parent(s): ed4ea0b

fixing the error on chatbot = gr.Chatbot().style(height=350)

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -40,7 +40,9 @@ def respond(message, chat_history):
40
 
41
 
42
  with gr.Blocks() as demo:
43
- chatbot = gr.Chatbot().style(height=350)
 
 
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])