ValueFX9507 commited on
Commit
c1dd94f
·
verified ·
1 Parent(s): 0a2992f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -19,6 +19,18 @@ CSS = """
19
  #sys-msg textarea {min-height: 120px!important;}
20
  """
21
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  def format_message(content):
23
  if not content:
24
  return ""
 
19
  #sys-msg textarea {min-height: 120px!important;}
20
  """
21
 
22
+ CSS = """
23
+ #gpt-title {text-align: center; color: #FF6B6B; font-family: 'Microsoft Yahei';}
24
+ .think-container {border: 1px solid #ffd8d8; border-radius: 8px; margin: 10px 0; padding: 12px;}
25
+ .think-summary {color: #FF9999; cursor: pointer; font-size: 0.9em;}
26
+ .think-content {color: #666; padding: 8px; background: #fff5f5; margin-top: 8px; border-radius: 4px;}
27
+ .dark .think-content {background: #2b2b2b;}
28
+ .code-block {background: #fff5f5; padding: 12px; border-radius: 8px; margin: 8px 0; font-family: monospace;}
29
+ .message {padding: 15px 20px!important; border-radius: 25px!important;}
30
+ .dark .code-block {background: #2b2b2b;}
31
+ #sys-msg textarea {min-height: 120px!important;}
32
+ """
33
+
34
  def format_message(content):
35
  if not content:
36
  return ""