Spaces:
Running
Running
Update app.py
Browse files
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:
|
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=["
|
|
|
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()
|