PeterPinetree commited on
Commit
e858eb0
·
verified ·
1 Parent(s): 5797c81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -248,7 +248,7 @@ def Page():
248
  # Neighbor chips
249
  if neighbor_list_rx.value:
250
  solara.Markdown("**Nearest neighbors:**")
251
- with solara.Row(wrap=True):
252
  for tok, sim in neighbor_list_rx.value:
253
  solara.HTML(tag="span", unsafe_innerHTML=f'<span class="badge">{tok} &nbsp; {(sim*100):.1f}%</span>')
254
 
 
248
  # Neighbor chips
249
  if neighbor_list_rx.value:
250
  solara.Markdown("**Nearest neighbors:**")
251
+ with solara.Row(style={"flex-wrap": "wrap"}):
252
  for tok, sim in neighbor_list_rx.value:
253
  solara.HTML(tag="span", unsafe_innerHTML=f'<span class="badge">{tok} &nbsp; {(sim*100):.1f}%</span>')
254