patti-j commited on
Commit
91adf1e
1 Parent(s): 74e9340

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -28,10 +28,7 @@ def respond(message, chat_history):
28
  # history.append((inp, output))
29
  # return history
30
 
31
-
32
- block = gr.Blocks(css=".gradio-container {background-color: lightblue}")
33
-
34
- with block:
35
 
36
  chatbot = gr.Chatbot()
37
 
@@ -47,7 +44,7 @@ with block:
47
  label="What would you like to talk about?",
48
  type = "text",
49
  )
50
- message.submit(respond, [msg, chatbot], [msg, chatbot])
51
 
52
  with gr.Row():
53
  submit = gr.Button(value="Send", variant="secondary").style(full_width=False)
 
28
  # history.append((inp, output))
29
  # return history
30
 
31
+ with gr.Blocks(theme=gr.themes.Soft()):
 
 
 
32
 
33
  chatbot = gr.Chatbot()
34
 
 
44
  label="What would you like to talk about?",
45
  type = "text",
46
  )
47
+ message.submit(respond, [message, chatbot], [msg, chatbot])
48
 
49
  with gr.Row():
50
  submit = gr.Button(value="Send", variant="secondary").style(full_width=False)