yuxwu commited on
Commit
6221c33
1 Parent(s): 7214620
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -13,16 +13,16 @@ from chatarena.message import Message
13
 
14
  css = """#col-container {max-width: 90%; margin-left: auto; margin-right: auto; display: flex; flex-direction: column;}
15
  #header {text-align: center;}
16
- #col-chatbox {flex: 1; max-height: min(650px, 100%); display: flex;}
17
- #chatbox {height: min(650px, 100%); max-height: 650px; display:flex;}
18
  #label {font-size: 2em; padding: 0.5em; margin: 0;}
19
  .message {font-size: 1.2em;}
20
  .wrap.svelte-18ha8kq {flex: 1}
21
- .wrap.svelte-18ha8kq.svelte-18ha8kq {max-height: min(600px, 100vh);}
22
- .message-wrap {max-height: min(600px, 100vh);}
23
  """
24
 
25
- DEBUG = True
26
 
27
  DEFAULT_BACKEND = "openai-chat"
28
  DEFAULT_ENV = "conversation"
 
13
 
14
  css = """#col-container {max-width: 90%; margin-left: auto; margin-right: auto; display: flex; flex-direction: column;}
15
  #header {text-align: center;}
16
+ #col-chatbox {flex: 1; max-height: min(750px, 100%); display: flex;}
17
+ #chatbox {height: min(750px, 100%); max-height: 750px; display:flex;}
18
  #label {font-size: 2em; padding: 0.5em; margin: 0;}
19
  .message {font-size: 1.2em;}
20
  .wrap.svelte-18ha8kq {flex: 1}
21
+ .wrap.svelte-18ha8kq.svelte-18ha8kq {max-height: min(700px, 100vh);}
22
+ .message-wrap {max-height: min(700px, 100vh);}
23
  """
24
 
25
+ DEBUG = False
26
 
27
  DEFAULT_BACKEND = "openai-chat"
28
  DEFAULT_ENV = "conversation"