Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -224,11 +224,19 @@ def respond(
|
|
224 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
225 |
"""
|
226 |
with gr.Blocks(css="""
|
227 |
-
#chat-box .message-wrap
|
228 |
width: 64px !important;
|
229 |
height: 64px !important;
|
|
|
|
|
|
|
|
|
|
|
230 |
border-radius: 50% !important;
|
231 |
-
object-fit: cover;
|
|
|
|
|
|
|
232 |
}
|
233 |
""") as demo:
|
234 |
with gr.Row():
|
|
|
224 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
225 |
"""
|
226 |
with gr.Blocks(css="""
|
227 |
+
#chat-box .message-wrap .avatar-container {
|
228 |
width: 64px !important;
|
229 |
height: 64px !important;
|
230 |
+
padding: 0 !important;
|
231 |
+
margin: 0 !important;
|
232 |
+
}
|
233 |
+
|
234 |
+
#chat-box .message-wrap .avatar-container img {
|
235 |
border-radius: 50% !important;
|
236 |
+
object-fit: cover !important;
|
237 |
+
padding: 0 !important;
|
238 |
+
margin: 0 !important;
|
239 |
+
display: block;
|
240 |
}
|
241 |
""") as demo:
|
242 |
with gr.Row():
|