Update app.py
Browse files
app.py
CHANGED
@@ -118,7 +118,8 @@ def get_result_text_ca (list_entity, text):
|
|
118 |
|
119 |
|
120 |
def image(src_as_string, **style):
|
121 |
-
|
|
|
122 |
|
123 |
|
124 |
def link(link, text, **style):
|
|
|
118 |
|
119 |
|
120 |
def image(src_as_string, **style):
|
121 |
+
src = f"src='data:image/png;base64,{src_as_string}'"
|
122 |
+
return img(src=src_as_string, class='img-fluid', style=styles(**style))
|
123 |
|
124 |
|
125 |
def link(link, text, **style):
|