darkc0de commited on
Commit
2eadb48
·
verified ·
1 Parent(s): 9e3d5ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -37,9 +37,7 @@ def respond(message, history):
37
 
38
 
39
  with gr.Blocks() as demo:
40
- chatbot = gr.ChatInterface(respond)
41
- chatbot.style(height=600)
42
-
43
 
44
  if __name__ == "__main__":
45
  demo.launch(show_api=False, share=False)
 
37
 
38
 
39
  with gr.Blocks() as demo:
40
+ gr.ChatInterface(respond, chatbot=gr.Chatbot(height=600))
 
 
41
 
42
  if __name__ == "__main__":
43
  demo.launch(show_api=False, share=False)