datacipen commited on
Commit
db498f9
·
verified ·
1 Parent(s): 903b95f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -485,6 +485,11 @@ styleRefresh = {
485
  "textDecoration" : "none"
486
  }
487
 
 
 
 
 
 
488
  styleTitle = {
489
  "textAlign": "center"
490
  }
@@ -565,7 +570,7 @@ def textbox(text, box="AI", name="Philippe"):
565
  )
566
  #textbox = dbc.Card(text, style=style, body=True, color="light", inverse=False)
567
  #textbox = dmc.Blockquote(text, style=styleSYSIA)
568
- textbox = dmc.Card(children=[dmc.Text(text.replace("\n"," "),size="sm",c="dimmed")],withBorder=False,w="100%", style=styleSYSIA)
569
  return html.Div([thumbnail, textbox])
570
 
571
  else:
 
485
  "textDecoration" : "none"
486
  }
487
 
488
+ styleTextIA = {
489
+ "color": "lightgrey",
490
+ "fontSize" : "12px"
491
+ }
492
+
493
  styleTitle = {
494
  "textAlign": "center"
495
  }
 
570
  )
571
  #textbox = dbc.Card(text, style=style, body=True, color="light", inverse=False)
572
  #textbox = dmc.Blockquote(text, style=styleSYSIA)
573
+ textbox = dmc.Card(children=[dcc.Markdown(text,style=styleTextIA)],withBorder=False,w="100%", style=styleSYSIA)
574
  return html.Div([thumbnail, textbox])
575
 
576
  else: