Wootang01 commited on
Commit
7e2596b
·
1 Parent(s): f4392b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -23,9 +23,8 @@ css = """
23
  .chatbox {display:flex;flex-direction:column}
24
  .msg {padding:4px;margin-bottom:4px;border-radius:4px;width:80%}
25
  .msg.user {background-color:cornflowerblue;color:white}
26
- .msg.bot {background-color:green;align-self:self-end}
27
  .footer {display:none !important}
28
  """
29
 
30
- gr.Interface(fn=predict, theme="grass", css=css, title="Chatbot Two",
31
- inputs=[gr.inputs.Textbox(placeholder="Write a text message as if writing a text message to a human."), "state"], outputs=["html", "state"]).launch()
 
23
  .chatbox {display:flex;flex-direction:column}
24
  .msg {padding:4px;margin-bottom:4px;border-radius:4px;width:80%}
25
  .msg.user {background-color:cornflowerblue;color:white}
26
+ .msg.bot {background-color:darkgray;align-self:self-end}
27
  .footer {display:none !important}
28
  """
29
 
30
+ gr.Interface(fn=predict, theme="grass", title="Chatbot Two", inputs=[gr.inputs.Textbox(placeholder="Write a text message as if writing a text message to a human."), "state"], outputs=["html", "state"], css=css).launch()