jatamura commited on
Commit
8a6d837
·
verified ·
1 Parent(s): acf2980

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -106,7 +106,7 @@ def server(input, output, session: Session):
106
  ui.h5(r['filename'], style="margin-top: 15px;"),
107
  ui.div(
108
  ui.span(f"Viable = {r.get('viable', '? ')}", style="margin: 0 15px;"),
109
- ui.span(f"Nonviable = {r.get('nonviable', '? ')}", style="margin: 0 15px;"),
110
  ui.span(f"Empty = {r.get('empty', '? ')}", style="margin: 0 15px;"),
111
  ui.span(f"Total = {r.get('total', '? ')}", style="margin: 0 15px;"),
112
  class_="results-text"
@@ -128,7 +128,7 @@ def server(input, output, session: Session):
128
  df = pd.DataFrame([{
129
  "Filename": r["filename"],
130
  "Viable": r.get("viable", ""),
131
- "Nonviable": r.get("nonviable", ""),
132
  "Empty": r.get("empty", ""),
133
  "Total": r.get("total", "")
134
  } for r in results])
 
106
  ui.h5(r['filename'], style="margin-top: 15px;"),
107
  ui.div(
108
  ui.span(f"Viable = {r.get('viable', '? ')}", style="margin: 0 15px;"),
109
+ ui.span(f"Nonviable = {r.get('non-viable', '? ')}", style="margin: 0 15px;"),
110
  ui.span(f"Empty = {r.get('empty', '? ')}", style="margin: 0 15px;"),
111
  ui.span(f"Total = {r.get('total', '? ')}", style="margin: 0 15px;"),
112
  class_="results-text"
 
128
  df = pd.DataFrame([{
129
  "Filename": r["filename"],
130
  "Viable": r.get("viable", ""),
131
+ "Non-viable": r.get("nonviable", ""),
132
  "Empty": r.get("empty", ""),
133
  "Total": r.get("total", "")
134
  } for r in results])