Spaces:
Sleeping
Sleeping
Commit
·
49dd691
1
Parent(s):
c8dbcc1
Minor fix
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def inference(input_text):
|
|
13 |
# for word in sentence:
|
14 |
# background_color = random.randint(40, 47)
|
15 |
# color_sentence += f"\033[0;37;{background_color}m {word}"
|
16 |
-
color_sentence = f"\033[0;37;
|
17 |
return len(encoding), color_sentence, encoding
|
18 |
|
19 |
title = "Bilingual tokenizer"
|
|
|
13 |
# for word in sentence:
|
14 |
# background_color = random.randint(40, 47)
|
15 |
# color_sentence += f"\033[0;37;{background_color}m {word}"
|
16 |
+
color_sentence = f"\033[0;37;41m Black" + f"\033[0;37;42m Black"
|
17 |
return len(encoding), color_sentence, encoding
|
18 |
|
19 |
title = "Bilingual tokenizer"
|