Wootang01 commited on
Commit
dc92265
1 Parent(s): cb5e39b

Update app.py

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