Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -86,7 +86,7 @@ def respond(message, api_key, max_tokens, top_p, temperature):
|
|
| 86 |
|
| 87 |
def render_message(history):
|
| 88 |
messages_html = """
|
| 89 |
-
<div id="chatbox-container" class="chatbox" style="height: 400px; overflow
|
| 90 |
<div id="messages">"""
|
| 91 |
|
| 92 |
for user_message, assistant_message, user_profile, assistant_profile, user_pic, assistant_pic in history:
|
|
@@ -129,7 +129,7 @@ function Scrolldown() {
|
|
| 129 |
}
|
| 130 |
"""
|
| 131 |
|
| 132 |
-
with gr.Blocks(css=".chatbox {height: 400px; overflow
|
| 133 |
|
| 134 |
with gr.Column(visible=True) as auth_view:
|
| 135 |
gr.Markdown("## P-MSQ Authorization")
|
|
|
|
| 86 |
|
| 87 |
def render_message(history):
|
| 88 |
messages_html = """
|
| 89 |
+
<div id="chatbox-container" class="chatbox" style=".chatbox height: 400px; overflow: auto; border: 1px solid #262626; padding: 10px; background-color: #171717; display: flex; flex-direction: column-reverse;">
|
| 90 |
<div id="messages">"""
|
| 91 |
|
| 92 |
for user_message, assistant_message, user_profile, assistant_profile, user_pic, assistant_pic in history:
|
|
|
|
| 129 |
}
|
| 130 |
"""
|
| 131 |
|
| 132 |
+
with gr.Blocks(css=".chatbox {height: 400px; overflow: auto; border: 1px solid #262626; padding: 10px; background-color: #171717; display: flex; flex-direction: column-reverse;}", js=js) as demo:
|
| 133 |
|
| 134 |
with gr.Column(visible=True) as auth_view:
|
| 135 |
gr.Markdown("## P-MSQ Authorization")
|