sxandie commited on
Commit
680a10a
·
verified ·
1 Parent(s): bd7a278

fixed UI issues

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1123,13 +1123,13 @@ def build_interface() -> tuple[gr.Blocks, gr.Theme | None, str | None]:
1123
  }
1124
 
1125
  /* Chat bubbles */
1126
- .chat-assistant {
1127
  background: rgba(30, 41, 59, 0.8) !important;
1128
  border: 1px solid var(--glass-border);
1129
  border-radius: 18px 18px 18px 4px !important;
1130
  color: var(--text-main) !important;
1131
  }
1132
- .chat-user {
1133
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%) !important;
1134
  color: #022c22 !important;
1135
  border-radius: 18px 18px 4px 18px !important;
@@ -1837,6 +1837,7 @@ def build_interface() -> tuple[gr.Blocks, gr.Theme | None, str | None]:
1837
 
1838
 
1839
  if __name__ == "__main__":
 
1840
  demo, app_theme, custom_css = build_interface()
1841
  launch_kwargs = {"share": False}
1842
  if IS_GRADIO_V6:
 
1123
  }
1124
 
1125
  /* Chat bubbles */
1126
+ .message.bot {
1127
  background: rgba(30, 41, 59, 0.8) !important;
1128
  border: 1px solid var(--glass-border);
1129
  border-radius: 18px 18px 18px 4px !important;
1130
  color: var(--text-main) !important;
1131
  }
1132
+ .message.user {
1133
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%) !important;
1134
  color: #022c22 !important;
1135
  border-radius: 18px 18px 4px 18px !important;
 
1837
 
1838
 
1839
  if __name__ == "__main__":
1840
+ print(f"Starting app with Gradio version: {gr.__version__}, IS_GRADIO_V6: {IS_GRADIO_V6}")
1841
  demo, app_theme, custom_css = build_interface()
1842
  launch_kwargs = {"share": False}
1843
  if IS_GRADIO_V6: