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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -565,7 +565,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,size="sm",c="dimmed")],withBorder=False,w="100%", style=styleSYSIA)
569
  return html.Div([thumbnail, textbox])
570
 
571
  else:
 
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: