UltramanT commited on
Commit
b86704e
·
verified ·
1 Parent(s): b589a43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -2
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 img {
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():