Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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:
|
27 |
.footer {display:none !important}
|
28 |
"""
|
29 |
|
30 |
-
gr.Interface(fn=predict, theme="grass",
|
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()
|
|