Spaces:
Runtime error
Runtime error
alitavanaali
commited on
Commit
•
dd6f9da
1
Parent(s):
b0f508b
Update app.py
Browse files
app.py
CHANGED
@@ -30,6 +30,7 @@ custom_config = r'--oem 3 --psm 6'
|
|
30 |
# lang='eng+deu+ita+chi_sim'
|
31 |
lang='spa'
|
32 |
|
|
|
33 |
label_ints = np.random.randint(0,len(PIL.ImageColor.colormap.items()),42)
|
34 |
label_color_pil = [k for k,_ in PIL.ImageColor.colormap.items()]
|
35 |
label_color = [label_color_pil[i] for i in label_ints]
|
|
|
30 |
# lang='eng+deu+ita+chi_sim'
|
31 |
lang='spa'
|
32 |
|
33 |
+
|
34 |
label_ints = np.random.randint(0,len(PIL.ImageColor.colormap.items()),42)
|
35 |
label_color_pil = [k for k,_ in PIL.ImageColor.colormap.items()]
|
36 |
label_color = [label_color_pil[i] for i in label_ints]
|