Update app.py
Browse files
app.py
CHANGED
@@ -272,7 +272,7 @@ def main():
|
|
272 |
if start > prev_start:
|
273 |
colored_text.append((processed_text[prev_start:start], None))
|
274 |
colored_text.append((processed_text[start:end], f"{color_id}"))
|
275 |
-
prev_start =
|
276 |
|
277 |
if end < len(processed_text):
|
278 |
colored_text.append((processed_text[end:len(processed_text)], None))
|
|
|
272 |
if start > prev_start:
|
273 |
colored_text.append((processed_text[prev_start:start], None))
|
274 |
colored_text.append((processed_text[start:end], f"{color_id}"))
|
275 |
+
prev_start = end
|
276 |
|
277 |
if end < len(processed_text):
|
278 |
colored_text.append((processed_text[end:len(processed_text)], None))
|