jcg00v commited on
Commit
ce25adf
·
verified ·
1 Parent(s): 0c3b3a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- return img(src=src_as_string, style=styles(**style))
 
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):