Spaces:
Running
Running
liujch1998
commited on
Commit
Β·
c671ff0
1
Parent(s):
16902fa
Fix color
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ def creativity(index_desc, query):
|
|
67 |
if line_len >= MAX_DISP_CHARS_PER_LINE and token.startswith('β'):
|
68 |
html += '<br/>'
|
69 |
line_len = 0
|
70 |
-
color = '
|
71 |
if token == '<0x0A>':
|
72 |
disp_token = '\\n'
|
73 |
is_linebreak = True
|
|
|
67 |
if line_len >= MAX_DISP_CHARS_PER_LINE and token.startswith('β'):
|
68 |
html += '<br/>'
|
69 |
line_len = 0
|
70 |
+
color = '(255, 128, 128, 0.5)'
|
71 |
if token == '<0x0A>':
|
72 |
disp_token = '\\n'
|
73 |
is_linebreak = True
|