Lyiosvf commited on
Commit
4f356d7
·
verified ·
1 Parent(s): c8ba15a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -3
app.py CHANGED
@@ -20,12 +20,18 @@ def respond(message, history):
20
 
21
  chatbot = gr.ChatInterface(respond, type="messages", title="Friendly chatbot", ) #chatbot UI - conversion history and user input
22
 
 
 
 
23
  body {
24
  background-color: white !important;
25
  }
 
 
 
 
 
 
26
 
27
- .gradio-container {
28
- background-color: white !important;
29
- }
30
 
31
  chatbot.launch()
 
20
 
21
  chatbot = gr.ChatInterface(respond, type="messages", title="Friendly chatbot", ) #chatbot UI - conversion history and user input
22
 
23
+
24
+
25
+ custom_css = """
26
  body {
27
  background-color: white !important;
28
  }
29
+ """
30
+
31
+ def respond(message, history):
32
+ return "Hi!", history
33
+
34
+ gr.ChatInterface(respond, css=custom_css).launch()
35
 
 
 
 
36
 
37
  chatbot.launch()