Spaces:
Runtime error
Runtime error
Update
Browse files
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(
|
| 17 |
-
#chatbox {height: min(
|
| 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(
|
| 22 |
-
.message-wrap {max-height: min(
|
| 23 |
"""
|
| 24 |
|
| 25 |
-
DEBUG =
|
| 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"
|